View linux system installation services

 How to view linux system installed which services it, by order of the different versions of the operating system may use a different command or some in some operating system is not available, are listed some common view commands (based on my linux version).

My operating system version as follows:

 

 

 

1.service --status-all 

More output, taken part. For example, see the MySQL service is not installed, you can find the information listed.

 

 

2.chkconfig --list

 

You can use this command to find a particular service is installed (provided that you specify the name of the service running), such as MySQL, type the command: chkconfig --list mysql

 

3.ps to

4. Go to the directory init.d View

5.netstat -lntp

 

6.ntsysv

 

Where the asterisk represents the boot. If you want a service start-up, you can use chkconfig mysql on. Another View mysql status / stop mysql service / start mysql service are: service mysql status / stop / start.

Guess you like

Origin www.cnblogs.com/zyh0430/p/11877719.html