cheat/cheat/cheatsheets/systemd

19 lines
344 B
Plaintext
Raw Permalink Normal View History

2015-09-08 03:56:09 +02:00
# 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