mirror of
https://github.com/Erreur32/cheat.git
synced 2024-11-01 05:21:06 +01:00
19 lines
344 B
Plaintext
19 lines
344 B
Plaintext
# 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
|