Use Chkconfig to view service status startup status
Chkconfig--list View service status
Chkconfig--del <service name> Delete a service. In the FEDORA14 test, delete the sshd service, still can ssh login, but after restarting found sshd service did not start. That is, the start-up is canceled and later with the following command recovery is good.
Chkconfig--add <service name> Add a service to boot it up.
Restart the service operation as follows:
Service <service name> Restart|start|stop
However, some machines do not have the service command installed, so they can also be restarted via the/etc/rc.d/sshd restart method, which makes no difference between the two methods, according to the simple test. However, the Telnet service does not have a response file under the/ETC/RC.D directory. Studying how to control the temporary shutdown/start of Telnet.
Linux view each service status Chkconfig