mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-01 08:20:11 +01:00
Add statistics interface to all device instances. When active, the properties of this interface are refreshed whenever there is network activity for the device. Activation is performed by changing RefreshRateMs property. If set to zero, the interface is deactivated. If set to other value, the rest of the interface properties are refreshed whenever the related network metric changes, being RefreshRateMs the minimum time between property changes, in milliseconds.
37 lines
979 B
XML
37 lines
979 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<node name="/">
|
|
<interface name="org.freedesktop.NetworkManager.Device.Statistics">
|
|
|
|
<!--
|
|
RefreshRateMs:
|
|
|
|
Rate of change of the rest of properties of this interface. If zero, the
|
|
properties do not change. Otherwise, the properties are refreshed each
|
|
RefreshRateMs milliseconds in case the underlying counter has changed
|
|
too.
|
|
-->
|
|
<property name="RefreshRateMs" type="u" access="readwrite"/>
|
|
|
|
<!--
|
|
TxBytes:
|
|
|
|
Number of transmitted bytes
|
|
-->
|
|
<property name="TxBytes" type="t" access="read"/>
|
|
|
|
<!--
|
|
RxBytes:
|
|
|
|
Number of received bytes
|
|
-->
|
|
<property name="RxBytes" type="t" access="read"/>
|
|
|
|
<!--
|
|
PropertiesChanged:
|
|
@properties: A dictionary mapping property names to variant boxed values
|
|
-->
|
|
<signal name="PropertiesChanged">
|
|
<arg name="properties" type="a{sv}"/>
|
|
</signal>
|
|
</interface>
|
|
</node>
|