#chkconfig --list
Tampilanya :
NetworkManager 0:off 1:off 2:on 3:on 4:on 5:on 6:off
acpid 0:off 1:off 2:on 3:on 4:on 5:on 6:off
atd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
autofs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
blk-availability 0:off 1:on 2:on 3:on 4:on 5:on 6:off
bluetooth 0:off 1:off 2:off 3:on 4:on 5:on 6:off
cpuspeed 0:off 1:on 2:on 3:on 4:on 5:on 6:off
crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
cups 0:off 1:off 2:on 3:on 4:on 5:on 6:off
dhcpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
dhcpd6 0:off 1:off 2:off 3:off 4:off 5:off 6:off
dhcrelay 0:off 1:off 2:off 3:off 4:off 5:off 6:off
dnsmasq 0:off 1:off 2:off 3:off 4:off 5:off 6:off
fcoe 0:off 1:off 2:on 3:on 4:on 5:on 6:off
firstboot 0:off 1:off 2:off 3:off 4:off 5:off 6:off
haldaemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off
untuk filternya bisa menggunakan |grep
#chkconfig --list |grep httpd
hasilnya :
httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Untuk melihat tingkatan levelnya dalam linux :
#vi /etc/inittab
hasilnya :
# Default runlevel. The runlevels used are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
Cara Merubahnya :
contoh service apache (web server ) ingin runing ketika setiap kali booting .
#chkconfig --level 3 httpd on
atau jika mau dimatikan
#chkconfig --level 3 httpd off
APPLEiPhone 5 64GB - Black
Quadband, 64GB Memory, 1136x640 pixel, 4 inch widescreen Multi-Touch display, iSight 8.0MP Camera, Full HD Video, UMTS/HSDPA/GSM/EDGE, Wi-Fi (802.11b/g/n), Bluetooth 4.0 wireless technology, A-GPS, GLONASS, USB 2.0, Retina Display
No comments:
Post a Comment