[root@localhost etc]# systemctl status blu_av
? blu_av.service - avscan
Loaded: loaded (/etc/systemd/system/blu_av.service; disabled; vendor preset: disabled)
Active: active (running) since Fri 2018-03-16 16:31:14 IST; 3s ago
Main PID: 31934 (av)
CGroup: /system.slice/blu_av.service
??31934 /opt/services/av
??31956 /opt/services/av
Mar 16 16:31:14 localhost.localdomain systemd[1]: Started avscan.
Mar 16 16:31:14 localhost.localdomain systemd[1]: Starting avscan...
Run Code Online (Sandbox Code Playgroud)
如果以上是我状态的输出。我想使用 python 脚本检索服务名称、正常运行时间和状态。