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

Disclaimer

This information may have errors; It is not permissible to be read by anyone who has ever met a lawyer.
Use is confined to Engineers with more than 370 course hours of electronic engineering for theoretical studies.
ph +1(785) 841-3089

Email inform@xtronics.com

(C) Copyright 1994-2017, Transtronics, Inc. All rights reserved
TranstronicsĀ® is a registered trademark of Transtronics, Inc.
All trademarks are the property of their respective owners.