December 2018
Beginner
320 pages
8h 57m
English
As a system administrator or user, sometimes it is necessary to find out the current status of systemd unit files. This helps in fine-tuning of system. We can configure services to be in active and loaded state or in an inactive state after booting of system, using the systemctl command.
The following table lists the commands used to view the unit files and their descriptions:
|
Command |
Description |
|
# systemctl |
Displays the state of all the different units that are active and loaded on startup |
|
# systemctl --type=service or # systemctl list-units --type=service |
Displays the state of only service units that are active |
|
# systemctl --type=service –all or # systemctl list-units --type=service ... |
Read now
Unlock full access