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/03 Report--
1. Its message is as follows:
Header displays information: system: the current date of the machine name; Load averages represents the number of loads that the system runs in 1 minute, 5 minutes, and 15 minutes (that is, the average number of processes in the running queue. It is recommended that less than 3 is normal, and if it is greater than 5, it indicates serious performance problems). Next comes the total number of processes and the number of processes of various types (status categories include run running, sleep sleep, idle stopping, zombie zombies). CPU State: enumerates the running status of all CPU of the system, each CPU has a single line, and each percentage represents the average number of load processes in LOAD, the time ratio of USER users, the time ratio of NICE tasks whose priority is changed by nice command, the time ratio of SYS system, and the ratio of idle time of IDLE. The following is the percentage of time occupied by BLOCK/SWAIT/INTR (on behalf of interrupt) / SSYS. The final avg represents the average of active processes (listed only on multiprocessor systems) Memory State: enumerates memory usage, including the total value of actual (real) active memory (active value), the total value of virtual (virtual) memory (active value), and the remaining available memory values. (if you need to know the total memory value of the machine, you'd better check it through machinfo.) Process State: lists the running status of 16 processes by default, including which CPU is currently processed by it; TTY represents the terminal number; PID represents the process number; USERNAME represents the user name; PRI represents the priority of the task; NICE represents the nice value of the task, and a process with a lower nice value will get a higher priority. SIZE represents the code of the task plus data and stack size; RES represents the total amount of physical memory used by the task; STATE represents the status of the task; TIME is the total CPU time used since the start of the task, in seconds;% WCPU represents the percentage of CPU utilization weight of the process;% CPU represents the original CPU utilization percentage of the process, which depends on the task's share of CPU time since the last screen refresh COMMAND indicates the command name to start the process. Too long will be abbreviated. 2. The syntax of the top command is as follows: top [- s time] [- d count] [- Q] [- u] [- h] [- n number] [- f filename]-s time: set the delay of screen refresh in seconds, default is 5 seconds-d count: set the number of screen refreshes, exit after count times refresh-Q: if authorized by nice Use-Q to make top run faster-u: use display User ID instead of username to improve the speed of running commands-h: when the system has multiple CPU, the state information of individual CPU is hidden, showing only the average state value-n number: set the number of processes displayed on each screen, if the number exceeds the maximum number of processes, the setting is invalid-f filename: output redirects the given file name The default is 16 process information 3. Top keyboard control command: J: switch to the next screen k: switch to the previous screen t: switch to the original screen Q: exit top at any time
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.