In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces how to view the system process in linux, which has a certain reference value and can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.
Linux View system processes can be viewed through ps: ps 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 occupy too much resources, and so on.
Common parameters of the ps command:
A show all processes
-a displays all programs under the same terminal
-A displays all processes c displays the real name of the process
-N reverse selection
-e equals "- A"
E display environment variables
F shows the relationship between programs
-H shows the tree structure
R displays the progress of the current terminal
T displays all the programs of the current terminal
U specify all processes of the user
You can view all the processes of the system with the command "ps-eFH", where the parameters mean:
UID: process owner ID
PID: process ID
PPID: parent process ID
SZ: the page size of the core image of the process
C:cpu scheduling situation
RSS: actual amount of memory consumed by the process (in 1KB)
PSR: the logical processor number of the processor that binds the kernel thread
STIME: the start time of the process
TTY: on which terminal the process runs
TIME: the total amount of time taken up by the process in CPU
CMD: the command to start the process
View all the processes of the system through the command "ps aux", where the parameters mean:
USER: process owner
PID:pid
% CPU: occupied cpu utilization
% MEM: memory usage occupied
VSZ: virtual memory set
RSS: resident memory set
TTY: whether the program is executed for login (tty1-tty6, local login, remote login if pts or?)
STAT: status of the process
START: program start time
TIME: the time for the program to run
COMMAND: the instruction executed.
Thank you for reading this article carefully. I hope it is helpful for everyone to share how to view the process of the system in linux. At the same time, I also hope that you can support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!
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.