core: add a property that shows the current memory usage of a unit
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Jan 2015 01:58:02 +0000 (02:58 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Jan 2015 02:00:15 +0000 (03:00 +0100)
commit934277fe6a26ff2a4da37059c70d84ab6a700781
tree5fbd09d8a0933a565a6c3d393f74897afad49a9a
parentda41abc52ca1f5965a22cc481a720328b987b335
core: add a property that shows the current memory usage of a unit

This is exposed the memory.usage_in_bytes cgroup property on the bus,
and makes "systemctl status" show it in its default output.
src/core/dbus-unit.c
src/shared/cgroup-util.c
src/shared/cgroup-util.h
src/systemctl/systemctl.c