This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
linux:systemd [2019/12/31 00:48] – [Systemctl] tmade | linux:systemd [2024/01/23 23:21] – tmade | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Systemctl ===== | ===== Systemctl ===== | ||
+ | |||
+ | ==== Commands ==== | ||
systemctl disable service | systemctl disable service | ||
Line 20: | Line 22: | ||
journalctl | journalctl | ||
journalctl -xe | journalctl -xe | ||
- | journalctl -u sshd -f # " | + | journalctl -u sshd -f # " |
journalctl -u kubelet.service | journalctl -u kubelet.service | ||
+ | systemctl list-units --state=failed | ||
sudo journalctl -xeu kubelet -o verbose | sudo journalctl -xeu kubelet -o verbose | ||
journalctl -fxeu kubelet.service | journalctl -fxeu kubelet.service | ||
Line 50: | Line 53: | ||
ln -sf / | ln -sf / | ||
- | ===== Service Units ===== | + | ==== Service Units ==== |
Service units are located on SLES12 in: | Service units are located on SLES12 in: | ||
Line 221: | Line 224: | ||
to service unit! | to service unit! | ||
- | ===Targets=== | + | ====systemd targets==== |
multi-user.target | multi-user.target |