diff options
| author | Joe Jin <joe.jin@oracle.com> | 2025-02-28 08:13:32 -0800 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2025-03-03 09:26:20 +0100 |
| commit | 2a5513d568737a3953ee94a06fd59f8704ce8dfb (patch) | |
| tree | b681656d7beea292c63eae3eaf43b859350afe03 /bash-completion | |
| parent | 2a989ed5be9ced00d79fe79c7dcfa19aa7146957 (diff) | |
| download | util-linux-2a5513d568737a3953ee94a06fd59f8704ce8dfb.tar.gz | |
irqtop: add max iteration support
Add support for setting the number of iterations. This is useful in
non-interactive mode.
Signed-off-by: Joe Jin <joe.jin@oracle.com>
Cc: Zhenwei Pi <pizhenwei@bytedance.com>
Cc: Sami Kerola <kerolasa@iki.fi>
Cc: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'bash-completion')
| -rw-r--r-- | bash-completion/irqtop | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bash-completion/irqtop b/bash-completion/irqtop index 215281ee8c..d18ef99bbb 100644 --- a/bash-completion/irqtop +++ b/bash-completion/irqtop @@ -22,6 +22,10 @@ _irqtop_module() COMPREPLY=( $(compgen -W "secs" -- $cur) ) return 0 ;; + '-n'|'--iter') + COMPREPLY=( $(compgen -W "the max iterations" -- $cur) ) + return 0 + ;; '-s'|'--sort') COMPREPLY=( $(compgen -W "irq total delta name" -- $cur) ) return 0 @@ -47,6 +51,7 @@ _irqtop_module() --cpu-stat --cpu-list --delay + --iter --sort --output --softirq |
