Why does Network Manager report no statistics for my networks?
0
votes
1
answer
282
views
I'm looking through the D-Bus API for Network Manager, on Centos Stream 8, and for the entire
org.freedesktop.NetworkManager.Device.Statistics
interface all the properties are showing 0 including RxBytes
and TxBytes
. This is for all network interfaces including the active ethernet port being used to log into the machine and the loopback.
Is there some other object type that actually has this information? Is the interface deprecated? Do I need to run a method to start recording somewhere? Do I need to subscribe to changes somehow? Is this related to nm-settings-ifcfg-rh?
Netstat has no problem reporting these stats. And Ubuntu 22.04 reports them but only for loopback.
Edit: I thought I was on the Ubuntu device but actually it was the Centos box.
Asked by davolfman
(847 rep)
Aug 25, 2022, 11:24 PM
Last activity: Aug 30, 2022, 07:53 AM
Last activity: Aug 30, 2022, 07:53 AM