top(1): add command aliases; correct dumb support

This commit is contained in:
Eitan Adler 2018-06-10 09:04:56 +00:00
parent 561b0720cf
commit 1a8f56dd3a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334921

View File

@ -56,14 +56,17 @@ static const struct command all_commands[] =
{'d', "change number of displays to show", false},
{'e', "list errors generated by last \"kill\" or \"renice\" command", false},
{'H', "toggle the displaying of threads", false},
{'h', "show this help text", false},
{'h', "show this help text", true},
{'?', "show this help text", true},
{'i', "toggle the displaying of idle processes", false},
{'I', "toggle the displaying of idle processes", false},
{'j', "toggle the displaying of jail ID", false},
{'J', "display processes for only one jail (+ selects all jails)", false},
{'k', "kill processes; send a signal to a list of processes", false},
{'q', "quit" , false},
{'q', "quit" , true},
{'m', "toggle the display between 'cpu' and 'io' modes", false},
{'n', "change number of processes to display", false},
{'#', "change number of processes to display", false},
{'o', "specify the sort order", false},
{'p', "display one process (+ selects all processes)", false},
{'P', "toggle the displaying of per-CPU statistics", false},