mirror of
https://github.com/Erreur32/cheat.git
synced 2024-11-16 00:48:36 +01:00
18 lines
344 B
Text
18 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
|