Skip to content

systemd

show all services

systemctl list-units --type=service --state=running
systemctl list-units --type=service --all
systemctl is-active postgresql

systemctl status nginx
journalctl -u nginx -n 100 --no-pager
sudo systemctl list-units --all --type=service 'openvpn*'