summaryrefslogtreecommitdiff
path: root/ifpps.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'ifpps.zsh')
-rw-r--r--ifpps.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ifpps.zsh b/ifpps.zsh
index 83de153..8fb97db 100644
--- a/ifpps.zsh
+++ b/ifpps.zsh
@@ -19,6 +19,7 @@ _interfaces () {
_arguments -s -S \
"(-d --dev)"{-d,--dev}"[Device to fetch statistics for i.e., eth0]:device:_interfaces" \
"(-p --promisc)"{-p,--promisc}"[Promiscuous mode]" \
+ "(-P --percentage)"{-P,--percentage}"[Show percentage of theoretical line rate]" \
"(-t --interval)"{-t,--interval}"[Refresh time in sec (default 1 s)]:interval:_gnu_generic" \
"(-n --num-cpus)"{-n,--num-cpus}"[Number of top hitter CPUs to display in ncurses mode (default 10)]" \
"(-C --csv)"{-C,--csv}"[Output to terminal as CSV E.g. post-processing with Gnuplot et al.]" \