1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 22:11:54 +02:00
zsh/Completion/Unix/Command/_dtruss
Jun-ichi Takimoto a0233a74e3 43079, 43086: new utility to complete names of running processes
And new completions for dtruss, fs_usage and sc_usage.
2018-06-25 11:09:14 +09:00

18 lines
684 B
Text

#compdef dtruss
_arguments -s : \
'-a[print all details]' \
'-b+[specify dynamic variable buffer size]:buffer size (default 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'