cheat-fork-echo/cheat/cheatsheets/systemd
2015-09-07 20:56:09 -05:00

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