[systemd-devel] Keeping track of usage time
lennart at poettering.net
Mon Nov 2 10:00:26 PST 2015
On Mon, 02.11.15 15:46, Umut Tezduyar Lindskog (umut at tezduyar.com) wrote:
> We would like to implement a feature to keep track of accumulated
> values of uptimes in our products. Tracked time will give us the total
> usage time of our product not just since last reboot (/proc/uptime).
> Is upstream interested in having such implementation?
As Dimitri suggested: wouldn't a journalctl --list-boots invocation
suffice for this?
Or do you need this per-service? (where the journal should be able to
provide you with the answer too, of course, but with a different line)
Lennart Poettering, Red Hat
More information about the systemd-devel