From 6a778aa8d5bb9137dadb987efee3ef6bafb42bb1 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Wed, 10 Jul 2024 20:35:15 +0200 Subject: 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) --- op-mode-definitions/monitor-bandwidth.xml.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'op-mode-definitions/monitor-bandwidth.xml.in') 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 @@ Monitor interface bandwidth in real time + bmon --use-bit - bmon -b -p $4 + bmon --use-bit --policy $4 Monitor bandwidth usage on specified interface -- cgit v1.2.3