Project

General

Profile

Actions

Bug #12735

closed

Interface status "Total Interrupts" display is non-functional

Added by Jim Pingle 4 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Interfaces
Target version:
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 to vmstat -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 #2

Updated by Jim Pingle 3 months ago

  • Status changed from New to Pull Request Review
  • Assignee set to Viktor Gurov
Actions #3

Updated by Viktor Gurov 3 months ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100
Actions #4

Updated by Jim Pingle about 2 months ago

  • Status changed from Feedback to Resolved

This looks right on current snapshots now. The value is displayed as expected.

Actions

Also available in: Atom PDF