summaryrefslogtreecommitdiff
path: root/Completion/BSD/Command/_procstat
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2025-01-27 23:00:17 +0100
committerOliver Kiddle <opk@zsh.org>2025-01-27 23:00:17 +0100
commit87aba4d437f5fef46917c1235c00b9162d7bcbd0 (patch)
treece578175d1248d14b8237ad86121b9396550c226 /Completion/BSD/Command/_procstat
parentdb01c79cf83290b9ac9d77e66d832551b7022f71 (diff)
downloadzsh-87aba4d437f5fef46917c1235c00b9162d7bcbd0.tar.gz
zsh-87aba4d437f5fef46917c1235c00b9162d7bcbd0.zip
53325: cover newer BSD releases in completion
Diffstat (limited to 'Completion/BSD/Command/_procstat')
-rw-r--r--Completion/BSD/Command/_procstat35
1 files changed, 18 insertions, 17 deletions
diff --git a/Completion/BSD/Command/_procstat b/Completion/BSD/Command/_procstat
index a1708f6ac..867ddc501 100644
--- a/Completion/BSD/Command/_procstat
+++ b/Completion/BSD/Command/_procstat
@@ -1,26 +1,27 @@
#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]' \
+ '(1)-b[show binary information]' \
+ '(1)-c[show command line arguments]' \
+ '(1)-e[show environment variables]' \
+ '(1)-f[show file descriptor information]' \
+ '(1)-i[show signal pending and disposition]' \
+ '(1)-j[show signal pending and blocked information for process threads]' \
+ '(1)-k[show stacks of kernel threads]' \
+ '(1)-l[show resource limits]' \
+ "(1)-L[show LWP info for the process pertaining to it's signal driven exit]" \
+ '(1)-r[show resource usage]' \
+ '(1)-s[show security credential information]' \
+ '(1)-S[show cpuset information]' \
+ '(1)-t[show thread information]' \
+ '(1)-v[show virtual memory mappings]' \
+ '(1)-x[show ELF auxiliary vector]' \
'-h[suppress table headers]' \
- '(1)-a[all processes]' \
+ '(2 *)-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*(-.)"' \
+ '1::command:(advlock argument auxv basic binary cpuset credential environment fd file kstack pargs ptlwpinfo pwdx rlimit rlimitusage rusage sigfastblock signal thread tsignal vm)' \
+ '2::core file:_path_files -g "*core*(-.)"' \
'*:process id:_pids'