From owner-svn-src-head@freebsd.org Sat Jun 27 16:31:05 2020 Return-Path: Delivered-To: svn-src-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5993C3564B4; Sat, 27 Jun 2020 16:31:05 +0000 (UTC) (envelope-from grembo@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49vK4n1mTKz49Rg; Sat, 27 Jun 2020 16:31:05 +0000 (UTC) (envelope-from grembo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 37FD227E3A; Sat, 27 Jun 2020 16:31:05 +0000 (UTC) (envelope-from grembo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 05RGV5j2054484; Sat, 27 Jun 2020 16:31:05 GMT (envelope-from grembo@FreeBSD.org) Received: (from grembo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 05RGV59V054483; Sat, 27 Jun 2020 16:31:05 GMT (envelope-from grembo@FreeBSD.org) Message-Id: <202006271631.05RGV59V054483@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: grembo set sender to grembo@FreeBSD.org using -f From: Michael Gmelin Date: Sat, 27 Jun 2020 16:31:05 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r362700 - head/share/man/man4 X-SVN-Group: head X-SVN-Commit-Author: grembo X-SVN-Commit-Paths: head/share/man/man4 X-SVN-Commit-Revision: 362700 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jun 2020 16:31:05 -0000 Author: grembo (ports committer) Date: Sat Jun 27 16:31:04 2020 New Revision: 362700 URL: https://svnweb.freebsd.org/changeset/base/362700 Log: Document new kern.tty_info_kstacks tunable. Reviewed by: manpages (imp), 0mp Differential Revision: https://reviews.freebsd.org/D25488 Modified: head/share/man/man4/termios.4 Modified: head/share/man/man4/termios.4 ============================================================================== --- head/share/man/man4/termios.4 Sat Jun 27 15:50:35 2020 (r362699) +++ head/share/man/man4/termios.4 Sat Jun 27 16:31:04 2020 (r362700) @@ -28,7 +28,7 @@ .\" @(#)termios.4 8.4 (Berkeley) 4/19/94 .\" $FreeBSD$ .\" -.Dd December 26, 2009 +.Dd June 27, 2020 .Dt TERMIOS 4 .Os .Sh NAME @@ -761,6 +761,13 @@ command in the foreground, its process ID, the symboli wait channel, the number of user and system seconds used, the percentage of cpu the process is getting, and the resident set size of the process. +.Pp +In case the +.Xr sysctl 8 +variable +.Va kern.tty_info_kstacks +is set to a non-zero value, the running thread's stack is +written to the terminal (e.g., for debugging purposes). .El .Pp The @@ -1586,4 +1593,5 @@ the values in the header .Xr tcsendbreak 3 , .Xr tcsetattr 3 , .Xr tcsetsid 3 , -.Xr tty 4 +.Xr tty 4 , +.Xr stack 9