diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-02-09 20:57:16 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-02-09 20:57:16 +0000 |
commit | ea2ef27564e4633c1d685468d91ec8fe63a1ac58 (patch) | |
tree | cf2c6b7518aba6bf0dcd6047e58518dbba19da0c | |
parent | ba429728a41330090df1e86fde6f097359f96685 (diff) |
sync somewhat to the man page;
started by a diff from Mark Lumsden
-rw-r--r-- | usr.bin/top/commands.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/usr.bin/top/commands.c b/usr.bin/top/commands.c index f6947389512..a2c05e26f7c 100644 --- a/usr.bin/top/commands.c +++ b/usr.bin/top/commands.c @@ -1,4 +1,4 @@ -/* $OpenBSD: commands.c,v 1.23 2007/02/06 06:53:13 otto Exp $ */ +/* $OpenBSD: commands.c,v 1.24 2007/02/09 20:57:15 jmc Exp $ */ /* * Top users/processes display for Unix @@ -70,9 +70,9 @@ show_help(void) printf("Top version %s, %s\n", version_string(), copyright); puts("These single-character commands are available:\n" "\n" - "^L - redraw screen\n" - "h or ? - help; show this text\n" - "q - quit"); + "h | ? - help; show this text\n" + "^L - redraw screen\n" + "q - quit"); /* not all commands are available with overstrike terminals */ if (overstrike) { @@ -81,21 +81,21 @@ show_help(void) "sophisticated enough to handle those commands gracefully.\n"); } else { puts( - "+ - remove process filter(s)\n" - "C - toggle the display of the command line arguments\n" - "d - change number of displays to show\n" - "e - list errors generated by last \"kill\" or \"renice\" command\n" - "g - filter on command name (+ selects all commands)\n" - "i or I - toggle the displaying of idle processes\n" - "k - kill processes; send a signal to a list of processes\n" - "n or # - change number of processes to display\n" - "o - specify sort order (size, res, cpu, time, pri)\n" - "p - display one process (+ selects all processes)\n" - "r - renice a process\n" - "s - change number of seconds to delay between updates\n" - "S - toggle the display of system processes\n" - "T - toggle the display of threads\n" - "u - display processes for only one user (+ selects all users)\n" + "+ - reset any g, p, or u filters\n" + "C - toggle the display of command line arguments\n" + "d n - show number `n' displays\n" + "e - list errors generated by last \"kill\" or \"renice\" command\n" + "g string - filter on command name (g+ selects all commands)\n" + "I | i - toggle the display of idle processes\n" + "k - send a signal to a list of processes\n" + "n|# n - show number `n' processes\n" + "o field - specify sort order (size, res, cpu, time, pri)\n" + "p pid - display process by pid (p+ selects all processes)\n" + "r n pid - renice process `pid' to nice value `n'\n" + "S - toggle the display of system processes\n" + "s n - change delay between displays to `n' seconds\n" + "T - toggle the display of threads\n" + "u user - display processes for `user' (u+ selects all users)\n" "\n"); } } |