blob: a1708f6acba4c6fbfc960bc93969bd2098063b91 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#compdef procstat
_arguments -s -A "-*" -S \
'-b[show binary information]' \
'-c[show command line arguments]' \
'-e[show environment variables]' \
'-f[show file descriptor information]' \
'-i[show signal pending and disposition]' \
'-j[show signal pending and blocked information for process threads]' \
'-k[show stacks of kernel threads]' \
'-l[show resource limits]' \
"-L[show LWP info for the process pertaining to it's signal driven exit]" \
'-r[show resource usage]' \
'-s[show security credential information]' \
'-S[show cpuset information]' \
'-t[show thread information]' \
'-v[show virtual memory mappings]' \
'-x[show ELF auxiliary vector]' \
'-h[suppress table headers]' \
'(1)-a[all processes]' \
'-w+[repeat information after specified interval]:delay (seconds)' \
'-C[print additional capability information for file descriptors]' \
'-H[statistics per-thread rather than per-process]' \
'-n[numeric form for signals]' \
'1::core file:_path_files -g "*core*(-.)"' \
'*:process id:_pids'
|