Date: Wed, 9 Jun 2021 21:38:51 GMT From: Michael Gmelin <grembo@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 278e37006673 - main - freebsd-tips: Add fortune on kern.tty_info_kstacks Message-ID: <202106092138.159LcpCe070333@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by grembo (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=278e370066734a06f6b35e585568ac34969b1e84 commit 278e370066734a06f6b35e585568ac34969b1e84 Author: Michael Gmelin <grembo@FreeBSD.org> AuthorDate: 2021-05-21 16:10:26 +0000 Commit: Michael Gmelin <grembo@FreeBSD.org> CommitDate: 2021-06-09 21:35:38 +0000 freebsd-tips: Add fortune on kern.tty_info_kstacks Add fortune explaining how to use `sysctl kern.tty_info_kstacks' to alter the output of ^T (tty info). Reviewed by: ceri Differential Revision: https://reviews.freebsd.org/D30388 --- usr.bin/fortune/datfiles/freebsd-tips | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/usr.bin/fortune/datfiles/freebsd-tips b/usr.bin/fortune/datfiles/freebsd-tips index eb7339cec698..cbbaff9eb84f 100644 --- a/usr.bin/fortune/datfiles/freebsd-tips +++ b/usr.bin/fortune/datfiles/freebsd-tips @@ -836,3 +836,10 @@ $ cu -s 9600 -l /dev/ttyU0 -- Daniel Ebdrup Jensen <debdrup@FreeBSD.org> % +You can control kernel stack(9) traces on ^T (tty info) by setting +kern.tty_info_kstacks to 0 (off), 1 (on), or 2 (verbose), e.g.: + +# sysctl kern.tty_info_kstacks=2 + + -- Michael Gmelin <grembo@FreeBSD.org> +%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106092138.159LcpCe070333>