summaryrefslogtreecommitdiffstats
path: root/contrib/top/commands.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2011-07-11 16:48:52 +0000
committerjhb <jhb@FreeBSD.org>2011-07-11 16:48:52 +0000
commit67900f72b1f7180ab693e92eae0c8c4381f5dabc (patch)
tree24dbd2ed39f324b805699359b163b92f96dd4012 /contrib/top/commands.c
parentcf995996ab105668883720bd5e270c8494278403 (diff)
downloadFreeBSD-src-67900f72b1f7180ab693e92eae0c8c4381f5dabc.zip
FreeBSD-src-67900f72b1f7180ab693e92eae0c8c4381f5dabc.tar.gz
Allow per-CPU statistics to be toggled at runtime via the 'P' key.
While here, make -P a toggle similar to other options such as -I. Reviewed by: arundel MFC after: 1 week
Diffstat (limited to 'contrib/top/commands.c')
-rw-r--r--contrib/top/commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/top/commands.c b/contrib/top/commands.c
index 7891068..49472fd 100644
--- a/contrib/top/commands.c
+++ b/contrib/top/commands.c
@@ -88,6 +88,7 @@ o - specify sort order (vcsw, ivcsw, read, write, fault, total, jid)\n",
stdout);
#endif
fputs("\
+P - toggle the displaying of per-CPU statistics\n\
r - renice a process\n\
s - change number of seconds to delay between updates\n\
S - toggle the displaying of system processes\n\
OpenPOWER on IntegriCloud