Fedora 29
Sponsored Link

Initial Settings : Services2018/10/31

[1] It's possible to display services' status like follows.
# the list of services which are active

[root@dlp ~]#
systemctl -t service

UNIT                            LOAD   ACTIVE SUB     DESCRIPTION
abrt-journal-core.service       loaded active running Creates ABRT problems fro
abrt-oops.service               loaded active running ABRT kernel log watcher
abrt-xorg.service               loaded active running ABRT Xorg log watcher
abrtd.service                   loaded active running ABRT Automated Bug Report
atd.service                     loaded active running Deferred execution schedu
auditd.service                  loaded active running Security Auditing Service
.....
.....
user-runtime-dir@0.service      loaded active exited  /run/user/0 mount wrapper
user@0.service                  loaded active running User Manager for UID 0

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

48 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

# the list of all services

[root@dlp ~]#
systemctl list-unit-files -t service

UNIT FILE                                   STATE
abrt-ccpp.service                           disabled
abrt-journal-core.service                   enabled
abrt-oops.service                           enabled
abrt-pstoreoops.service                     disabled
abrt-vmcore.service                         enabled
abrt-xorg.service                           enabled
abrtd.service                               enabled
arp-ethers.service                          disabled
atd.service                                 enabled
auditd.service                              enabled
.....
.....
[2] Stop and turn OFF auto-start setting for a service if you don'd need it. (it's smartd as an example below)
[root@dlp ~]#
systemctl stop smartd

[root@dlp ~]#
systemctl disable smartd

Matched Content