這是本文件的舊版!


Systemd

systemd-analyze

systemd-analyze
systemd-analyze blame
systemd-analyze plot > /tmp/plot.svg

systemd-bootchart

process info

systemd-cgls
pstree

kill process

# SIGTERM
systemctl kill service-name.service

# SIGKILL
systemctl kill -s SIGKILL service-name.service

# HUP
systemctl kill -s HUP --kill-who=main service-name.service