mirror of
https://github.com/Erreur32/cheat.git
synced 2024-11-18 01:40:44 +01:00
19 lines
344 B
Text
19 lines
344 B
Text
|
# Display process startup time
|
||
|
systemd-analyze
|
||
|
|
||
|
# Display process startup time at service level
|
||
|
systemd-analyze blame
|
||
|
|
||
|
# List running units
|
||
|
systemctl list-units
|
||
|
|
||
|
# Load a unit at startup
|
||
|
systemctl enable foo.service
|
||
|
|
||
|
# Start or Stop a unit
|
||
|
systemctl <start | stop> foo.service
|
||
|
|
||
|
# Unit file locations
|
||
|
/etc/systemd/system
|
||
|
/usr/lib/systemd/system
|