JAEN

Linux

systemctl

CautionManage services

systemctl status <svc>

Check status and start/stop/enable services.

Examples

  • systemctl status nginxCheck nginx status
  • systemctl restart sshdRestart sshd

Syntax

systemctl status|start|stop|restart|enable <service>

Before you run it

start/stop/restart affect running services.

Used when you see

Service won't start / keeps crashing
1
Check service statusactive vs failed
See the whole flow →
Clock drift / NTP failure
3
Restart the time service to force resync
See the whole flow →
Node is NotReady
3
Verify kubelet on the node
See the whole flow →

Related commands

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store