summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-07-14 16:38:57 +0200
committerGitHub <noreply@github.com>2024-07-14 16:38:57 +0200
commit34671f40d23c55014e56948163a649c85848063c (patch)
tree2c5e0d3547f77c2a51f49b51fe1cbb5db90ac267 /op-mode-definitions
parent423e710e6d6962249c72bd3b8c6f09e0e127779d (diff)
parent6a778aa8d5bb9137dadb987efee3ef6bafb42bb1 (diff)
downloadvyos-1x-34671f40d23c55014e56948163a649c85848063c.tar.gz
vyos-1x-34671f40d23c55014e56948163a649c85848063c.zip
Merge pull request #3807 from vyos/mergify/bp/sagitta/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>