[root@riyimei ~]# systemctl list-unit-files|grep enabled autovt@.service enabled crond.service enabled getty@.service enabled irqbalance.service enabled kdump.service enabled microcode.service enabled rsyslog.service enabled sshd.service enabled sysstat.service enabled systemd-readahead-collect.service enabled systemd-readahead-drop.service enabled systemd-readahead-replay.service enabled tuned.service enabled lvm2-lvmetad.socket enabled lvm2-lvmpolld.socket enabled [root@riyimei ~]#
for serv in ` systemctl list-unit-files | grep enabled|awk '{print $1}'`;do systemctl disable $serv ;done
for serv in autovt@.service crond.service getty@.service irqbalance.service kdump.service microcode.service rsyslog.service sshd.service sysstat.service systemd-readahead-collect.service systemd-readahead-drop.service systemd-readahead-replay.service tuned.service lvm2-lvmetad.socket lvm2-lvmpolld.socket default.target multi-user.target runlevel2.target runlevel3.target runlevel4.target ;do systemctl enable $serv;done
getty@.service
是管理终端线路及其所连终端的程序的通用名称。其目的是保护系统,防止未经授权的访问
autovt@.service
当用户切换到一个先前未曾使用的虚拟终端时, 将根据该虚拟终端的名称自动从 autovt@.service
模版实例化一个
irqbalance
在Linux上一般作为service,在多核处理器系统上分配硬件中断,以提升性能
microcode.service
处理器稳定性增强
systemd-readahead-collect.service
systemd-readahead-drop.service
systemd-readahead-replay.service
内核调用、预读取
tuned.service
系统调优工具