Returns
The status of a unit file
Example output
● dbus.service - D-Bus System Message Bus
Loaded: loaded (/lib/systemd/system/dbus.service; static)
Active: active (running) since Thu 2022-08-18 16:47:02 EDT; 3 days ago
TriggeredBy: ● dbus.socket
Docs: man:dbus-daemon(1)
Main PID: 720 (dbus-daemon)
Tasks: 1 (limit: 57666)
Memory: 4.0M
CPU: 38.983s
CGroup: /system.slice/dbus.service
└─720 @dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
Aug 21 10:13:42 dwd dbus-daemon[720]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.324' (uid=1000 pid=849041 comm="/us>
Aug 21 10:13:43 dwd dbus-daemon[720]: [system] Successfully activated service 'org.freedesktop.hostname1'
Aug 21 10:14:47 dwd dbus-daemon[720]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.326' (uid=1000 pid=849041 comm="/us>
Aug 21 10:14:47 dwd dbus-daemon[720]: [system] Successfully activated service 'org.freedesktop.hostname1'
Aug 21 14:28:25 dwd dbus-daemon[720]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.11' (uid=0 pid=721 comm="/u>
Aug 21 14:28:25 dwd dbus-daemon[720]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Aug 21 14:30:56 dwd dbus-daemon[720]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.11' (uid=0 pid=721 comm="/u>
Aug 21 14:30:56 dwd dbus-daemon[720]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Aug 21 16:39:44 dwd dbus-daemon[720]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.339' (uid=1000 pid=1231986 comm="/opt/google/chrome/chrome --enable>
Aug 21 16:40:09 dwd dbus-daemon[720]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)