diff options
author | Christian Breunig <christian@breunig.cc> | 2024-07-10 20:35:15 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-07-10 20:35:15 +0200 |
commit | 7704af0c4454725e8c67138e5cabab3328bde0f8 (patch) | |
tree | 2c914967abfe8776f76965c18aa542262da9b014 /op-mode-definitions | |
parent | 21a857811a6f2484756134d4f0b6865c6b09e790 (diff) | |
download | vyos-1x-7704af0c4454725e8c67138e5cabab3328bde0f8.tar.gz vyos-1x-7704af0c4454725e8c67138e5cabab3328bde0f8.zip |
op-mode: T6566: add support for listing all interfaces in "monitor bandwidth"
Right now we can only monitor the bandwidth for one individual interface, but
not all at once. This adds support to monitor all interfaces.
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/monitor-bandwidth.xml.in | 3 |
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> |