In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
Xiaobian to share with you what the process commands in Linux, I believe most people do not know how, so share this article for your reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!
ps
The ps command is used to view the status of processes in the system.
ps is an abbreviation for Process Status, process means "process" in English, and status means "status", so the ps command is used to display the processes in the current system.
PID: Process ID, pid is the abbreviation of process identifier, each process has a unique process number. Then we need to use the process number when we learn how to end the process.
TTY: The terminal on which the process runs. PTS, as we have seen above, is an abbreviation for pseudo terminal slave, meaning "pseudo terminal slave." If I open a new terminal, the display name will be pts/0; if I open another terminal, it will be pts/1. And so on.
TIME: How long has the process been running?
CMD: The name of the program that generated this process. If you see the same program name in several lines of the process list, then the same program spawned more than one process (e.g. MySQL).
Parameters and functions of ps command
Parameter role-a shows all processes (including those of other users)-u users and other details-x shows processes without control terminals top command
The top command is used to dynamically monitor information such as process activity and system load, and its format is top.
The first row shows the system running time, the number of logged users, and the system load (the three values are the average values within 1 minute, 5 minutes, and 15 minutes, respectively, and the smaller the value, the lower the load);
The second row shows the total number of tasks in operation and the operation status;
The third row shows the load on the CPU.
The fourth line shows the current memory usage;
The fifth row shows virtual memory usage.
The above is "What are the process commands in Linux" all the content of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to 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.