SLES 15
Sponsored Link

Initial Settings : Services
2019/01/14
[1] It's possible to display services' status like follows.
# the list of services which are active

dlp:~ #
systemctl -t service

UNIT                            LOAD   ACTIVE SUB     DESCRIPTION
apparmor.service                loaded active exited  Load AppArmor profiles
auditd.service                  loaded active running Security Auditing Service
cron.service                    loaded active running Command Scheduler
dbus.service                    loaded active running D-Bus System Message Bus
detect-part-label-duplicates.service loaded active exited  Detect if the system>
dracut-shutdown.service         loaded active exited  Restore /run/initramfs on>
getty@tty1.service              loaded active running Getty on tty1
haveged.service                 loaded active running Entropy Daemon based on t>
irqbalance.service              loaded active running irqbalance daemon
iscsi.service                   loaded active exited  Login and scanning of iSC>
kbdsettings.service             loaded active exited  Apply settings from /etc/>
kdump-early.service             loaded active exited  Load kdump kernel early o>
kdump.service                   loaded active exited  Load kdump kernel and ini>
klog.service                    loaded active exited  Early Kernel Boot Messages
kmod-static-nodes.service       loaded active exited  Create list of required s>
lvm2-lvmetad.service            loaded active running LVM2 metadata daemon
lvm2-monitor.service            loaded active exited  Monitoring of LVM2 mirror>
.....
.....

# the list of all services

dlp:~ #
systemctl list-unit-files -t service

UNIT FILE                               STATE
after-local.service                     static
alsa-restore.service                    static
alsa-state.service                      static
alsasound.service                       static
apparmor.service                        enabled
auditd.service                          enabled
auth-rpcgss-module.service              static
autofs.service                          disabled
autovt@.service                         enabled
autoyast-initscripts.service            disabled
backup-rpmdb.service                    static
backup-sysconfig.service                static
blk-availability.service                disabled
bmc-snmp-proxy.service                  disabled
bootmsg.service                         enabled
btrfs-balance.service                   static
btrfs-defrag.service                    static
.....
.....
[2] Stop and turn OFF auto-start setting for a service if you don'd need it. (it's iscsi as an example below)
dlp:~ #
systemctl stop iscsi

dlp:~ #
systemctl disable iscsi

Matched Content
 
Tweet