Disclaimer

This information HAS errors and is made available WITHOUT ANY WARRANTY OF ANY KIND and without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. It is not permissible to be read by anyone who has ever met a lawyer or attorney. Use is confined to Engineers with more than 370 course hours of engineering.
If you see an error contact:
+1(785) 841 3089
inform@xtronics.com

Systemd Cheatsheet


Basic Commands

Good news - tab complete works here! new

$ systemctl {start | stop | restart | reload} daemon.service
$ systemctl list-unit-files --type=service  
$ systemctl {enable | disable} daemon.service 
$ systemctl status daemon.service
$ systemctl { poweroff | reboot }

Advanced

$ systemctl show daemon.service 
$ systemctl {list | cancel}-jobs

Debug commands

$ journalctl -alb


$ systemd-analyze 
Startup finished in 2.974s (kernel) + 18.109s (userspace) = 21.084s
$ systemd-analyze blame 


$ systemd-analyze plot
$ systemd-analyze plot 
$ systemd-analyze 

Systemd services

Edit /etc/systemd/timesyncd.conf if you want to point at your own time server - the keyword Servers needs a Capital 's' and the s at the end.
This service synchronizes the local system clock with a Network Time Protocol Server(s). If you want to run your own time server install ntp.

Top Page wiki Index