File: _procstat

package info (click to toggle)
zsh 5.9-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,856 kB
  • sloc: ansic: 108,138; sh: 6,976; makefile: 722; perl: 687; awk: 291; sed: 16
file content (26 lines) | stat: -rw-r--r-- 1,050 bytes parent folder | download | duplicates (3)
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'