初期設定 : サービスの設定2019/01/14 |
[1] | サービスの状態は以下のようにして確認できます。 |
# 稼働中のサービスの一覧 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> ..... ..... # 全サービスの一覧 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] | 不要なサービスを止めるには以下のようにします。例として、iscsi を停止し、システムの起動時に自動的に立ち上がらないようにしています。 |
dlp:~ # systemctl stop iscsi dlp:~ # systemctl disable iscsi |
Sponsored Link |