Actions
Bug #12735
closedInterface status "Total Interrupts" display is non-functional
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
22.05
Release Notes:
Default
Affected Version:
Affected Architecture:
Description
The interface status page status_interfaces.php
is supposed to print a section called "Total Interrupts" at the bottom of each physical interface, but it does not.
The handling of that data is broken in a few ways:
- The result is unset before it tries to display the text, which means it will never show up on the page.
- Even if the above is corrected, the results are wrong for interfaces with multiple queues.
- The way the statistics are obtained is inefficient (running
vmstat -i
separately for every interface), it should gather the stats just once using something closer tovmstat -i --libxo=json
at the top and then parse/sum the data from the interpreted result. This will be much more efficient and accurate than relying on the current methods.
Actions