summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-07-12 20:57:03 +0200
committerGitHub <noreply@github.com>2024-07-12 20:57:03 +0200
commit7b06b5a07e2d3ae581124655633c3106628ecb1d (patch)
tree329dc30c6a0af035f2ad9c448f61e4822539ac91 /op-mode-definitions
parent2470f189a74fdeebdeca57ab21f6a6804069ddaf (diff)
parent168698c72adc139d056bd0613cefec21b355900c (diff)
downloadvyos-1x-7b06b5a07e2d3ae581124655633c3106628ecb1d.tar.gz
vyos-1x-7b06b5a07e2d3ae581124655633c3106628ecb1d.zip
Merge pull request #3808 from vyos/mergify/bp/circinus/pr-3805
op-mode: T6566: add support for listing all interfaces in "monitor bandwidth" (backport #3805)
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/monitor-bandwidth.xml.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/op-mode-definitions/monitor-bandwidth.xml.in b/op-mode-definitions/monitor-bandwidth.xml.in
index 2da9d34f4..fc1d751d6 100644
--- a/op-mode-definitions/monitor-bandwidth.xml.in
+++ b/op-mode-definitions/monitor-bandwidth.xml.in
@@ -6,9 +6,10 @@
<properties>
<help>Monitor interface bandwidth in real time</help>
</properties>
+ <command>bmon --use-bit</command>
<children>
<tagNode name="interface">
- <command>bmon -b -p $4</command>
+ <command>bmon --use-bit --policy $4</command>
<properties>
<help>Monitor bandwidth usage on specified interface</help>
<completionHelp>