Difference between revisions of "Systemctl"

From wikieduonline
Jump to navigation Jump to search
Line 11: Line 11:
 
** <code>systemctl list-units --failed</code>
 
** <code>systemctl list-units --failed</code>
 
** <code>[[systemctl list-units --type=service]]</code>
 
** <code>[[systemctl list-units --type=service]]</code>
* List services: <code>[[systemctl list-unit-files]]</code><ref>https://www.linuxtrainingacademy.com/systemd-cheat-sheet/</ref>
+
* List services:
 +
** <code>[[systemctl list-unit-files]]</code><ref>https://www.linuxtrainingacademy.com/systemd-cheat-sheet/</ref>
 +
** <code>[[systemctl list-unit-files]] --state=enabled</code>
 
* List services enabled: <code>systemctl list-unit-files --state=enabled</code>
 
* List services enabled: <code>systemctl list-unit-files --state=enabled</code>
 
* View status of a service: <code>systemctl status [[devOps/Docker|docker]]</code>
 
* View status of a service: <code>systemctl status [[devOps/Docker|docker]]</code>

Revision as of 14:00, 14 January 2020

systemctl command is used to control the systemd system and service manager.[1]

Basic Usage

Activities

Basic

Advanced

See also

  • https://www.freedesktop.org/software/systemd/man/systemctl.html
  • https://www.linuxtrainingacademy.com/systemd-cheat-sheet/
  • https://wiki.ubuntu.com/DebuggingSystemd
  • Advertising: