-->

Sunday, April 29, 2012

manage services on linux

Services info: 

chkconfig --list [name] 
chkconfig --add name 
chkconfig --del name 
chkconfig [--level levels] name <on|off|reset> 
chkconfig [--level levels] name 

start mysql service on boot :
chkconfig --levels 235 mysqld on

service utility:

service
service httpd status 
service httpd stop


runing process info :

ps aux | less
ps aux
ps aux | grep searchd 



No comments:

Post a Comment