From 93806cf9e52705c407bdb98f600f45b6e8f44c2e Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Sat, 20 Oct 2018 18:53:32 +0000 Subject: [PATCH] stty.1: Document kern.tty_info_kstacks behavior (r339471) Reported by: bdrewery Reviewed by: bdrewery Sponsored by: Dell EMC Isilon --- bin/stty/stty.1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bin/stty/stty.1 b/bin/stty/stty.1 index 2575263c18c1..a0f76fe2bfd1 100644 --- a/bin/stty/stty.1 +++ b/bin/stty/stty.1 @@ -32,7 +32,7 @@ .\" @(#)stty.1 8.4 (Berkeley) 4/18/94 .\" $FreeBSD$ .\" -.Dd March 2, 2018 +.Dd October 20, 2018 .Dt STTY 1 .Os .Sh NAME @@ -459,6 +459,13 @@ The status line consists of the system load average, the current command name, its process ID, the event the process is waiting on (or the status of the process), the user and system times, percent cpu, and current memory usage. +.Pp +If the +.Xr sysctl 8 +variable +.Va kern.tty_info_kstacks +is set to a non-zero value, the status message also includes the kernel program +stack of the foreground thread. .It Cm columns Ar number The terminal size is recorded as having .Ar number