In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "how to check the services of linux". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to check the services of linux".
View method: 1, with the "service-status-all" command, list all the services of the system and display the running status; 2, with the "chkconfig-list" command, list all services; 3, with the "ps aux" command, you can view all the processes in the system; 4, use "ntsysv", and so on.
The operating environment of this tutorial: Red Hat Enterprise Linux 6.5 system, Dell G3 computer.
Linux's way to see what services the system has
Method 1: use the service command
The service command is used to manage system services. Execute the following command to view the running status of all Linux services
Service-status-all
There are many output results, and the intercept part. For example, to check whether the MySQL service is installed or not, you can find it in the information listed.
Method 2. Use the chkconfig command
Chkconfig-list
You can list all the services of the system
You can use this command to find out whether a specific service is installed (provided you specify the name under which the service is running), such as MySQL, type the command: chkconfig-- list mysql
Method 3: use the ps command
The ps command can view the details of all running processes on the system
Ps aux
Execute the above command to view all the processes in the system
Method 4: go to the init.d directory to view
Cd / etc/init.d
Method 5: use the netstat command
Netstat-lntp
Method 6. Use the ntsysv command
Thank you for your reading, the above is the content of "how to check what services linux has". After the study of this article, I believe you have a deeper understanding of how to check what services linux has, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.