console: fix %-display when speed of an interface is 0

And add a warning about that in the documentation.
This commit is contained in:
Vincent Bernat
2023-06-22 01:09:22 +02:00
parent 18ad16eb56
commit b464a00be1
3 changed files with 6 additions and 3 deletions

View File

@@ -115,7 +115,9 @@ aspect of the graph.
second (should match interface counters), packets par second, percentage of
use of the input interface or output interface. For percentage use, you should
group by exporter name and interface name or description for it to make sense.
Otherwise, you would get an average over the matched interfaces.
Otherwise, you would get an average over the matched interfaces. Also, because
interface speeds are retrieved infrequently, the percentage may be temporarily
incorrect when an interface speed changes.
- Four graph types are provided: “stacked”, “lines”, and “grid” to
display time series and “sankey” to show flow distributions between