]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/service.c
core: expose consumed CPU time per unit
authorLennart Poettering <lennart@poettering.net>
Sun, 1 Mar 2015 15:24:19 +0000 (16:24 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 2 Mar 2015 11:15:25 +0000 (12:15 +0100)
commit5ad096b3f1331b175340129a8c9a5a9d711e5415
tree41896760dde9b0ca2d45d04484c4a2308a600b0e
parent606303a93ea52a70ebba55bb3152820e630f2164
core: expose consumed CPU time per unit

This adds support for showing the accumulated consumed CPU time per-unit
in the "systemctl status" output. The property is also readable via the
bus.
16 files changed:
src/core/cgroup.c
src/core/cgroup.h
src/core/dbus-unit.c
src/core/mount.c
src/core/mount.h
src/core/scope.c
src/core/service.c
src/core/service.h
src/core/slice.c
src/core/socket.c
src/core/socket.h
src/core/swap.c
src/core/swap.h
src/core/unit.c
src/core/unit.h
src/systemctl/systemctl.c