Title here
Summary here
Green Metrics Tool
This metric provider reads the total amount of read and written bytes from disk devices by the cgroups of your system cgroup processes. More information about cgroups can be found in the cgroups man page.
It can be used for system monitoring and tracking background processes such as the desktop environment. It is also used to calculate GMT’s overhead.
DiskIoCgroupSystemProvider
disk_io_cgroup_system
-s
: cgroup name strings separated by commas-i
: interval in millisecondsBy default the measurement interval is 100 ms.
./metric-provider-binary -i 100 -s org.gnome.Shell@wayland.service,session-2.scope
This metric provider prints to Stdout a continuous stream of data. The format of the data is as follows:
TIMESTAMP RBYTES WBYTES CGROUP-NAME
Where:
TIMESTAMP
: Unix timestamp, in microsecondsRBYTES
: The cumulative amount of bytes read from disk since cgroup startWBYTES
: The cumulative amount of bytes written to disk since cgroup startCGROUP-NAME
: The cgroup name that this reading is forAny errors are printed to Stderr.
This metric provider uses the exact same code as the metric provider “Disk IO - cgroup - container” →.