systemctl – inspect and manage systemd services

systemctl command

systemctl command helps you confirm system status and manage systemd services.

Show systemd Services

Simplest command is probably systemctl status:

● srv.ts.com
State: running
Jobs: 0 queued
Failed: 0 units
Since: Tue 2019-11-26 22:16:20 GMT; 1 months 18 days ago
CGroup: /
├─user.slice
│ └─user-1000.slice
│ ├─[email protected]
│ │ └─init.scope
│ │ ├─2814 /lib/systemd/systemd –user
│ │ └─2815 (sd-pam)
│ ├─session-1365.scope
│ │ ├─591 sshd: greys [priv]
│ │ ├─601 sshd: [email protected]/0
│ │ ├─602 -bash
│ │ ├─607 systemctl status
│ │ └─608 pager
│ └─session-1290.scope
│ ├─2834 tmux
│ ├─2835 -bash
│ ├─2843 sudo -i
│ └─2844 -bash
├─init.scope

See Also

Linux Commands Advanced Unix Commands journalctl command systemd reference Make BIND9 named use only IPv4 (example of using systemctl status there)

See also




Keep Learning with Me

Follow me on Facebook and Twitter or jump into Telegram chat!:
Recommended Software
I use Brave browser, it's awesome: Brave Browser I'm also a fan of SetApp for macOS: SetApp for macOS
IT Consultancy
I'm a principal consultant with Tech Stack Solutions. I help with cloud architectrure, AWS deployments and automated management of Unix/Linux infrastructure. Get in touch!

Recent Tweets