summaryrefslogtreecommitdiffstats
path: root/contrib/top/commands.c
diff options
context:
space:
mode:
authorkeramida <keramida@FreeBSD.org>2005-04-14 15:02:03 +0000
committerkeramida <keramida@FreeBSD.org>2005-04-14 15:02:03 +0000
commiteae5910982acd983a47a3d98046dc0af087d9862 (patch)
tree11b507e6e5e0f2b5c5a4050db800007183192c9d /contrib/top/commands.c
parentbee55215dc537762c0e3a6da98437e58d60dd31f (diff)
downloadFreeBSD-src-eae5910982acd983a47a3d98046dc0af087d9862.zip
FreeBSD-src-eae5910982acd983a47a3d98046dc0af087d9862.tar.gz
- Add a THR column to the process listing, that shows the number of
threads a process has. The THR column is disabled and disappears when 'H' is hit, because then every thread gets its own output line. - Allow sorting processes by "threads". Approved by: davidxu Inspired by: Jiawei Ye <leafy7382@gmail.com>
Diffstat (limited to 'contrib/top/commands.c')
-rw-r--r--contrib/top/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/top/commands.c b/contrib/top/commands.c
index b79e19a..8d7f331 100644
--- a/contrib/top/commands.c
+++ b/contrib/top/commands.c
@@ -78,7 +78,7 @@ n or # - change number of processes to display\n", stdout);
#ifdef ORDER
if (displaymode == DISP_CPU)
fputs("\
-o - specify sort order (pri, size, res, cpu, time)\n", stdout);
+o - specify sort order (pri, size, res, cpu, time, threads)\n", stdout);
else
fputs("\
o - specify sort order (vcsw, ivcsw, read, write, fault, total)\n", stdout);
OpenPOWER on IntegriCloud