]> git.ipfire.org Git - thirdparty/systemd.git/commit
systemctl: add --timestamp to change timestamp print format 16221/head
authorLuca Boccassi <luca.boccassi@microsoft.com>
Fri, 19 Jun 2020 10:26:22 +0000 (11:26 +0100)
committerLuca Boccassi <luca.boccassi@microsoft.com>
Wed, 19 Aug 2020 14:30:13 +0000 (15:30 +0100)
commit46ad9c5378864ff3380dc119a949beeed08782cd
tree5f009edbd4313db9140100801be47da27508e489
parent7b3eb5c97ec835100b2974dae035004d07b6d60c
systemctl: add --timestamp to change timestamp print format

Timestamps for unit start/stop are recorded with microsecond granularity,
but status and show truncate to second granularity by default.
Add a --timestamp=pretty|us|utc option to allow including the microseconds
or to use the UTC TZ to all timestamps printed by systemctl.
man/systemctl.xml
shell-completion/bash/systemctl.in
shell-completion/zsh/_systemctl.in
src/systemctl/systemctl.c