File: _dtruss

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 (18 lines) | stat: -rw-r--r-- 676 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#compdef dtruss

_arguments -s : \
  '-a[print all details]' \
  '-b+[specify dynamic variable buffer size]:buffer size [4m]' \
  '-c[print system call counts]' \
  '-d[print relative timestamps]' \
  '-e[print elapsed times]' \
  '-f[follow children as they are forked]' \
  '-l[force printing of pid/lwpid per line]' \
  "-L[don't print pid/lwpid per line]" \
  '(-p :)-n+[examine processes with the specified name]: : _process_names -a' \
  '-o[print on-cpu times]' \
  '-s[print stack backtraces]' \
  '(-n :)-p+[examine process with the specified pid]: : _pids' \
  '-t+[examine only the specified syscall]: : _sys_calls' \
  '1: : _command_names -e' \
  '*:: : _normal'