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 | 168698c72adc139d056bd0613cefec21b355900c (patch) | |
tree | 329dc30c6a0af035f2ad9c448f61e4822539ac91 /op-mode-definitions/monitor-bandwidth.xml.in | |
parent | 2470f189a74fdeebdeca57ab21f6a6804069ddaf (diff) | |
download | vyos-1x-168698c72adc139d056bd0613cefec21b355900c.tar.gz vyos-1x-168698c72adc139d056bd0613cefec21b355900c.zip |
op-mode: T6566: add support for listing all interfaces in "monitor bandwidth"mergify/bp/circinus/pr-3805
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)
Diffstat (limited to 'op-mode-definitions/monitor-bandwidth.xml.in')
-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> |