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)06/01 Report--
In this issue, Xiaobian will bring you about the top command parameters of Linux. The article is rich in content and analyzed and described from a professional perspective. After reading this article, I hope you can gain something.
top //Explicit resource consumption of all processes every 5 seconds top -d 2 //Explicit resource consumption of all processes every 2 seconds top -c //Explicit resource consumption of processes every 5 seconds and display the process command line parameters (default only process name)top -p 12345 -p 6789//display the resource usage of the two processes with pid 12345 and pid 6789 every 5 seconds top -d 2 -c -p 123456 //display the resource usage of the process with pid 12345 every 2 seconds, and explicitly introduce the command line parameters started by the process
The top command is a commonly used performance analysis tool under Linux, which can display the resource consumption status of each process in the system in real time, similar to Windows Task Manager.
top Display the current process and other status of the system, is a dynamic display process, that is, the user can press the key to constantly refresh the current state. if the command is executed in the foreground,
It will monopolize the foreground until the user terminates the program. More accurately, the top command provides real-time status monitoring of system processors. It displays a list of the most CPU sensitive tasks in the system.
This command can be used per CPU. Memory usage and execution time sort tasks; and many of the command's features can be set either interactively or in custom files.
How to use it is described in detail below.
parameter meaning
top - 01:06:48 up 1:22, 1 user, load average: 0.06, 0.60, 0.48 --
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.