summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_top
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2022-04-11 00:18:04 +0200
committerAxel Beckert <abe@deuxchevaux.org>2022-04-11 00:18:04 +0200
commit31bcc5c263aea983e967426e2b94269e7605dcd4 (patch)
tree7b48ad9d7799afe09b7d7d8adc980bd5db935bdf /Completion/Unix/Command/_top
parent5086b5356abcef8849dc8a09902b7c55f01db3c0 (diff)
parentb09f4483416c54c1782824633dfabaf2ec0265b6 (diff)
downloadzsh-31bcc5c263aea983e967426e2b94269e7605dcd4.tar.gz
zsh-31bcc5c263aea983e967426e2b94269e7605dcd4.zip
Update upstream source from tag 'upstream/5.8.1.2-test'
Update to upstream version '5.8.1.2-test' with Debian dir b380d582bf51cd93149e4dea28fffa1ad85db4f5
Diffstat (limited to 'Completion/Unix/Command/_top')
-rw-r--r--Completion/Unix/Command/_top6
1 files changed, 5 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_top b/Completion/Unix/Command/_top
index 652432166..692df790d 100644
--- a/Completion/Unix/Command/_top
+++ b/Completion/Unix/Command/_top
@@ -64,7 +64,6 @@ case $OSTYPE in
'-I[do not display idle processes]'
'-i[interactive mode]'
'-n[non-interactive mode (identical to batch mode)]'
- '-o+[sort process display by the specified field]:field:( $fields )'
'-p+[filter by the specified pid]: :_pids'
'-q[renice top to -20]'
'-S[show system processes]'
@@ -80,6 +79,7 @@ case $OSTYPE in
'-j[display the jail ID]'
'-t[do not display the top process]'
'-m+[specify statistic type]:type:(( cpu\:default io ))'
+ '-o+[sort process display by the specified field]:field:( $fields )'
'-P[per-cpu CPU usage statistics]'
'(1 -)-v[write version number and exit]'
'-w[display approximate swap usage]'
@@ -89,10 +89,14 @@ case $OSTYPE in
);;
openbsd*)
fields+=( command )
+ order=( '-:reverse order' )
specs+=(
'-1[combine CPU statistic into one line]'
+ '-t[show the routing table instead of the wait channel]'
'-C[show command arguments as well as process name]'
'-g+[filter processes by the specified string]:string'
+ '-o+[sort process display by the specified field]:field:->sortkey'
+ '-T+[filter processes by the specified routing table]:routing table:_routing_tables'
'-U+[filter processes by the specified user]: :_users -M "L\:|-="'
);;
darwin*)