$ systemctl status |
Show system status |
$ systemctl list-units |
List running units |
$ systemctl |
List running units |
$ systemctl –failed |
List failed units |
$ systemctl –all |
List running and inactive units |
$ systemctl list-unit-files |
State of all installed units |
$ systemctl status unit |
unit status |
# systemctl start unit |
start |
# systemctl stop unit |
stop |
# systemctl restart unit |
restart the unit |
# systemctl reload unit |
reload configuration |
$ systemctl is-enabled unit |
enabled or disabled? |
# systemctl enable unit |
enable to be started on boot |
# systemctl disable unit |
disable not to be started on boot |
# systemctl mask unit |
forbid starting the unit |
# systemctl unmask unit |
unmask |
# systemctl help unit |
help for the unit |
# systemctl daemon-reload |
reload systemd |
$ systemctl reboot |
reboot system |
$ systemctl poweroff |
power-off |
$ systemctl suspend |
suspend to memory |
$ systemctl hibernate |
hibernate on disk |
$ systemctl hybrid-sleep |
hibernate then sleep |