In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
How do we see which service is running on our Linux system? First, let's enter the following command:
Ps-ef
Let's first take a look at whether the system includes this service. For example, I want to take a look at my nginx server (pay attention to case):
Ps-ef | grep nginx
If you want to kill the service, use the following command:
Kill ID
You can use either of the above commands to get ID, the second column is ID, and you get the same ID (the third line is the ID you just typed in to search).
To see the detailed status of this service, we can use the following command:
Service nginx status
The other commands are as follows (I'll take nginx as an example here):
Restart the service: sudo service nginx restart start the service: sudo service nginx start stop the service: sudo service nginx stop
These are the details of how linux views service status information. For more information, please follow other related articles!
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.