summaryrefslogtreecommitdiff
path: root/op-mode-definitions/monitor-bandwidth.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-07-11 21:11:46 +0200
committerGitHub <noreply@github.com>2024-07-11 21:11:46 +0200
commit887de85b7a78dde370ddb71ddcb3f87557536e08 (patch)
tree5b568a0bfec9f8015880fc6eb69c7c210db10952 /op-mode-definitions/monitor-bandwidth.xml.in
parent115e99630a317cab62c6f99e0461f6ce2c1edaf3 (diff)
parent7704af0c4454725e8c67138e5cabab3328bde0f8 (diff)
downloadvyos-1x-887de85b7a78dde370ddb71ddcb3f87557536e08.tar.gz
vyos-1x-887de85b7a78dde370ddb71ddcb3f87557536e08.zip
Merge pull request #3805 from c-po/t6566-mon-band
op-mode: T6566: add support for listing all interfaces in "monitor bandwidth"
Diffstat (limited to 'op-mode-definitions/monitor-bandwidth.xml.in')
-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>