Linux view each service status Chkconfig

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.