Services2017/06/18 |
[1] | It's possible to make sure services' status like follows. |
# display the list of services which are running root@dlp:~# systemctl -t service UNIT LOAD ACTIVE SUB DESCRIPTION console-setup.service loaded active exited Set console font and keym cron.service loaded active running Regular background progra dbus.service loaded active running D-Bus System Message Bus getty@tty1.service loaded active running Getty on tty1 getty@ttyS0.service loaded active running Getty on ttyS0 ifup@ens3.service loaded active exited ifup for ens3 keyboard-setup.service loaded active exited Set the console keyboard ... ... ... systemd-update-utmp.service loaded active exited Update UTMP about System systemd-user-sessions.service loaded active exited Permit User Sessions 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. 28 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' setting root@dlp:~# systemctl list-unit-files -t service UNIT FILE STATE apt-daily-upgrade.service static apt-daily.service static autovt@.service enabled bootlogd.service masked bootlogs.service masked bootmisc.service masked ... ... ... urandom.service static user@.service static x11-common.service masked 121 unit files listed. |
[2] | Stop and turn OFF auto-start setting for a service if you don'd need it. (it's atd as an example below) |
root@dlp:~# systemctl stop atd root@dlp:~# systemctl disable atd |
Sponsored Link |
|