zsh-workers
 help / color / mirror / code / Atom feed
5c8919d12f4c2c90c986ee1cdc2358397577cef6 blob 674 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
#compdef slabtop
# based on procps-ng-3.3.15

local -a criteria=(
  'a:number of active objects'
  'b:objects per slab'
  'c:cache size'
  'l:number of slabs'
  'v:number of active slabs'
  'n:name'
  'o:number of objects'
  'p:page per slab'
  's:object size'
  'u:cache utilization'
)

_arguments -s \
  '(-d --delay -o --once)'{-d+,--delay=}'[specify the delay between updates]:seconds: ' \
  '(-s --sort)'{-s+,--sort=}'[specify the sort criteria]:criteria:(($criteria))' \
  '(-d --delay -o --once)'{-o,--once}'[display the output once and exit]' \
  '(-)'{-V,--version}'[display version information and exit]' \
  '(-)'{-h,--help}'[display usage information and exit]'
debug log:

solving 5c8919d12 ...
found 5c8919d12 in https://git.vuxu.org/mirror/zsh/

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).