检索系统服务停止日期

时间:2019-08-01 13:23:04

标签: systemd

如何以编程方式检索systemd服务停止的日期?

我应该解析systemctl status <service>journalctl的输出吗?

(一旦服务停止,我发现systemctl show <service>中所有时间戳都为0)。

0 个答案:

没有答案
相关问题