Difference between revisions of "Systemctl"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
** <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>
 
* 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 08:35, 10 December 2019

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/
  • Advertising: