SuSE开启关闭服务
服务(s)的运行级别(s)在SLES可以以多种方式进行管理。支持的两个方法是通过chkconfig和YaST。
· YaST
# yast2 runlevel summary
Default Runlevel after Boot: 3
Current Runlevel: 3
Service | Runlevels | Description
--------------------+-------------+------------------------------------------
SuSEfirewall2_setup | 3 4 5 | SuSEfirewall2 phase 2
aaeventd | | AppArmor Notification and Reporting
acpid | 2 3 5 | Listen and dispatch ACPI events from the kernel
atd | | Start AT batch job daemon
auditd | 3 5 | auditd daemon providing core auditing services
autofs | | Start the autofs daemon for automatic mounting of filesystems.
autoyast | | A start script to execute autoyast scripts
cron | 2 3 5 | Cron job service
dbus | 3 5 | D-BUS is a message bus system for applications to talk to one another.
earlykbd | 5 | Keyboard settings (don't disable!)
earlysyslog | 5 | Start the system logging daemons
evms | | start Enterprise Volume Management System
fbset | 1 2 3 5 | Framebuffer setup
gpm | | Start gpm to allow mouse on console
gssd | | Start the RPC GSS security daemon
haldaemon | 3 5 | HAL is a daemon for managing information about the hardware on the system
idmapd | | Start the NFSv4 ID mapping daemon
ipmi | | OpenIPMI Driver init script
irq_balancer | 1 2 3 5 | irqbalance daemon providing irq balancing on MP-machines
kbd | 1 2 3 5 S | Keyboard settings (don't disable!)
lm_sensors | | sensors is used for monitoring motherboard sensor values. Config file is /etc/sysconfig/lm_sensors
mdadmd | | mdadmd daemon monitoring MD devices
microcode | 1 2 3 5 S | update the Intel CPU microcode
multipathd | | Starts multipath daemon
network | 2 3 5 | Configure the network interfaces and set up routing
nfs | 3 5 | Imports remote Network File Systems (NFS)
nfsboot | 3 5 | Service(s) needed with NFS
nfsserver | | Start the kernel based NFS daemon
novell-zmd | 3 4 5 | ZMD, the ZENworks Management Daemon, allows users to manage \ software on their systems. \ Visithttp://www.novell.com for more information.
nscd | 3 5 | Start Name Service Cache Daemon
ntp | | Start network time protocol daemon (NTPD).
openct | | Start smart card readers
pcscd | | PCSC daemon handling smart card readers
portmap | 3 5 | DARPA port to RPC program number mapper
postfix | 3 5 | start the Postfix MTA
powerd | | Start the UPS monitoring daemon
powersaved | 2 3 5 | optimises power consumption, specially for laptops
random | 2 3 5 | Script to snapshot random state and reload it at boot time.
raw | | raw-devices
resmgr | 2 3 5 | Start resource manager for device file access
rpasswdd | | Start rpasswdd to allow secure remote password updates
rpmconfigcheck | | rpm config file scan
rsyncd | | Start the rsync server daemon
saslauthd | | start the cyrus-sasl2 auth daemon
slpd | 3 5 | slpd - OpenSLP daemon for the Service Location Protocol
smartd | | Monitors disk and tape health via S.M.A.R.T.
smpppd | | Start the smpppd for internet dial-up connections.
snmpd | | start net-snmpd
splash | 1 2 3 5 S | Splash screen setup
splash_early | 2 3 5 | kills animation after network start
sshd | 3 5 | Start the sshd daemon
suseRegister | 3 5 | A start script to execute suseRegister during boot
svcgssd | | Start the RPC GSS security daemon
syslog | 2 3 5 | Start the system logging daemons
xdm | 5 | X Display Manager
xinetd | | Start the xinet daemon.
ypbind | | Start ypbind (necessary for a NIS client)
#
查看任何给定服务的服务可能取决于你可以添加一个服务=汇总查询:
# yast2 runlevel summary service=sshd
Service | Runlevels | Description
--------------+-----------+--------------------------------------------------
sshd | 3 5 | Start the sshd daemon
boot.udev | B | Start udevd to manage /dev and kernel device events.
boot.localfs| B | check and mount local filesystems except /
boot.cleanup| B | do cleanup
dbus | 3 5 | D-BUS is a message bus system for applications to talk to one another.
boot.localnet | B | setup hostname and yp
haldaemon | 3 5 | HAL is a daemon for managing information about the hardware on the system
network | 2 3 5 | Configure the network interfaces and set up routing
#· chkconfig
· # chkconfig --list
Makefile 0:off1:off2:off3:off4:off5:off6:off
SuSEfirewall2_init 0:off1:off2:off3:off4:off5:off6:offB:on
SuSEfirewall2_setup 0:off1:off2:off3:on 4:on 5:on 6:off
aaeventd 0:off1:off2:off3:off4:off5:off6:off
acpid 0:off1:off2:on 3:on 4:off5:on 6:off
atd 0:off1:off2:off3:off4:off5:off6:off
auditd 0:off1:off2:off3:on 4:off5:on 6:off
autofs 0:off1:off2:off3:off4:off5:off6:off
autoyast 0:off1:off2:off3:off4:off5:off6:off
cron 0:off1:off2:on 3:on 4:off5:on 6:off
dbus 0:off1:off2:off3:on 4:off5:on 6:off
earlykbd 0:off1:off2:off3:off4:off5:on 6:off
earlysyslog 0:off1:off2:off3:off4:off5:on 6:off
evms 0:off1:off2:off3:off4:off5:off6:off
fbset 0:off1:on 2:on 3:on 4:off5:on 6:off
gpm 0:off1:off2:off3:off4:off5:off6:off
gssd 0:off1:off2:off3:off4:off5:off6:off
haldaemon 0:off1:off2:off3:on 4:off5:on 6:off
idmapd 0:off1:off2:off3:off4:off5:off6:off
ipmi 0:off1:off2:off3:off4:off5:off6:off
irq_balancer 0:off1:on 2:on 3:on 4:off5:on 6:off
kbd 0:off1:on 2:on 3:on 4:off5:on 6:offS:on
lm_sensors 0:off1:off2:off3:off4:off5:off6:off
mdadmd 0:off1:off2:off3:off4:off5:off6:off
microcode 0:off1:on 2:on 3:on 4:off5:on 6:offS:on
multipathd 0:off1:off2:off3:off4:off5:off6:off
network 0:off1:off2:on 3:on 4:off5:on 6:off
nfs 0:off1:off2:off3:on 4:off5:on 6:off
nfsboot 0:off1:off2:off3:on 4:off5:on 6:off
nfsserver 0:off1:off2:off3:off4:off5:off6:off
novell-zmd 0:off1:off2:off3:on 4:on 5:on 6:off
nscd 0:off1:off2:off3:on 4:off5:on 6:off
ntp 0:off1:off2:off3:off4:off5:off6:off
openct 0:off1:off2:off3:off4:off5:off6:off
pcscd 0:off1:off2:off3:off4:off5:off6:off
portmap 0:off1:off2:off3:on 4:off5:on 6:off
postfix 0:off1:off2:off3:on 4:off5:on 6:off
powerd 0:off1:off2:off3:off4:off5:off6:off
powersaved 0:off1:off2:on 3:on 4:off5:on 6:off
random 0:off1:off2:on 3:on 4:off5:on 6:off
raw 0:off1:off2:off3:off4:off5:off6:off
resmgr 0:off1:off2:on 3:on 4:off5:on 6:off
rpasswdd 0:off1:off2:off3:off4:off5:off6:off
rpmconfigcheck 0:off1:off2:off3:off4:off5:off6:off
rsyncd 0:off1:off2:off3:off4:off5:off6:off
saslauthd 0:off1:off2:off3:off4:off5:off6:off
skeleton.compat 0:off1:off2:off3:off4:off5:off6:off
slpd 0:off1:off2:off3:on 4:off5:on 6:off
smartd 0:off1:off2:off3:off4:off5:off6:off
smpppd 0:off1:off2:off3:off4:off5:off6:off
snmpd 0:off1:off2:off3:off4:off5:off6:off
splash 0:off1:on 2:on 3:on 4:off5:on 6:offS:on
splash_early 0:off1:off2:on 3:on 4:off5:on 6:off
sshd 0:off1:off2:off3:on 4:off5:on 6:off
suseRegister 0:off1:off2:off3:on 4:off5:on 6:off
svcgssd 0:off1:off2:off3:off4:off5:off6:off
syslog 0:off1:off2:on 3:on 4:off5:on 6:off
xdm 0:off1:off2:off3:off4:off5:on 6:off
xinetd 0:off1:off2:off3:off4:off5:off6:off
ypbind 0:off1:off2:off3:off4:off5:off6:off
xinetd based services:
chargen: off
chargen-udp: off
daytime: off
daytime-udp: off
echo: off
echo-udp: off
netstat: off
rsync: off
servers: off
services: off
systat: off
time: off
time-udp: off
#Enabling and Disabling
# chkconfig mdadmd
mdadmdoff
# chkconfig mdadmd on
# chkconfig --list mdadmd
mdadmd 0:off1:off2:off3:on 4:off5:on 6:off
# chkconfig mdadmd off
# chkconfig --list mdadmd
mdadmd 0:off1:off2:off3:off4:off5:off6:off
# chkconfig --level 3 mdadmd on
# chkconfig --list mdadmd
mdadmd 0:off1:off2:off3:on 4:off5:off6:off
#
页:
[1]