In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article is to share with you about the method of viewing the process in linux, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
I. process definition
Linux is a multi-user and multi-task operating system. Multi-user means that multiple users can use the computer at the same time. Multi-task means that linux can execute multiple tasks at the same time. It can execute another task before it has finished. Every time a task is run, the system starts a process, which is an execution activity of a program in its own virtual address space. The reason for creating a process is to enable multiple programs to execute concurrently. So as to improve the resource utilization and throughput of the system.
Second, the method of viewing the process
We can view the progress through the ps command.
Command:
Ps aux
The ps command is used to report the process status of the current system. You can interrupt and delete unnecessary programs at any time with kill instructions.
Ps command is the most basic but also very powerful process view command, which can be used to determine which processes are running and running status, whether the process ends, whether the process is dead, which processes take up too much resources, and so on. In short, most of the information can be obtained by executing the command.
3. Parameter introduction:
A: displays all the process information under the current terminal, including the processes of other users.
U: use a user-based format to output process information.
X: displays the progress of the current user under all terminals.
Result Screenshot:
These are the ways to view the progress in linux, and the editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
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.