]> git.ipfire.org Git - thirdparty/systemd.git/commit
croup: expose IO accounting data per unit
authorLennart Poettering <lennart@poettering.net>
Fri, 22 Mar 2019 11:16:03 +0000 (12:16 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 12 Apr 2019 12:25:44 +0000 (14:25 +0200)
commitfbe14fc9a78e03ea4759aa00779d6799609decb6
treec1701e6457f42b60274987bfc1b237238c194f83
parent83f18c91d095a437392a0b78f1c7631dcbc0ba5d
croup: expose IO accounting data per unit

This was the last kind of accounting still not exposed on for each unit.
Let's fix that.

Note that this is a relatively simplistic approach: we don't expose
per-device stats, but sum them all up, much like cgtop does. This kind
of metric is probably the most interesting for most usecases, and covers
the "systemctl status" output best. If we want per-device stats one day
we can of course always add that eventually.
src/core/cgroup.c
src/core/cgroup.h
src/core/dbus-unit.c
src/core/unit.c
src/core/unit.h