list all running services
1 2 3 |
service --status-all |
List all known services
1 2 3 |
chkconfig --list |
Print the status of a service
1 2 3 |
service mysqld status |
Turn on a service
1 2 3 4 |
chkconfig service off For example: chkconfig httpd on |
Turn off a service
1 2 3 4 |
chkconfig service off For example: chkconfig httpd off |
Check a service status
1 2 3 |
service mysqld status |