diff options
author | Christian Breunig <christian@breunig.cc> | 2024-07-10 20:35:15 +0200 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-07-11 19:12:43 +0000 |
commit | 6a778aa8d5bb9137dadb987efee3ef6bafb42bb1 (patch) | |
tree | 2c5e0d3547f77c2a51f49b51fe1cbb5db90ac267 | |
parent | 423e710e6d6962249c72bd3b8c6f09e0e127779d (diff) | |
download | vyos-1x-6a778aa8d5bb9137dadb987efee3ef6bafb42bb1.tar.gz vyos-1x-6a778aa8d5bb9137dadb987efee3ef6bafb42bb1.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.
(cherry picked from commit 7704af0c4454725e8c67138e5cabab3328bde0f8)
-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> |