Top details of Linux system monitoring tools

Source: Internet
Author: User

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/8303990b8cf2e1173cd47a10f4ccb25c/ c8629e9f27f249df95041f941986043b "style=" margin-top:8px;height:290.634px;width:800px; "alt=" c8629e9f27f249df95041f941986043b "/>

Base View

First line:

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/8303990b8cf2e1173cd47a10f4ccb25c/ 15c911a814a24460b8cc7238de572eab "style=" margin-top:8px;height:auto;line-height:1.5; "alt=" 15c911a814a24460b8cc7238de572eab "/>

09:57:34 System Current Run time

Up days,23:33 the time the system has been running since the last boot.

1 user currently logged in

Load average:0.32, 0.24, 0.15 system average load, that is, the length of the task queue. 1 minutes, 5 minutes, 15 minutes, respectively.

Second line:

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/8303990b8cf2e1173cd47a10f4ccb25c/ ba9027b0a1fb495ebf0db63ebd47592e "style=" Margin-top:8px;height:auto; "alt=" ba9027b0a1fb495ebf0db63ebd47592e "/ >

245 Total Process Totals

1 running 1 Running processes

244 Sleeping 239 Sleep Processes

0 stopped 0 Stop process

0 Zombie 0 Zombie Processes

Third line:

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/8303990b8cf2e1173cd47a10f4ccb25c/ 222f9dc42a374f3e9dd118d529f17d70 "style=" Margin-top:8px;height:auto; "alt=" 222F9DC42A374F3E9DD118D529F17D70 "/ >

3.1% US user space consumes CPU percentage

0.8% Sy connotation space% of CPU occupied

0.0% NI changes the priority of the process to occupy a percentage of the CPU

90.9% ID Idle CPU percentage

5.2% wa io waiting CPU percentage

0.0% hi hardware interrupt percent of CPU

0.0% Si software interrupts the percentage of CPU

0.0% St If there is a virtual machine, the percentage of CPU occupied by the virtual machine

Line four:

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/8303990b8cf2e1173cd47a10f4ccb25c/ 2588c74d06fc4a2c83293b25664c589a "style=" Margin-top:8px;height:auto; "alt=" 2588c74d06fc4a2c83293b25664c589a "/ >

16280612k Total Physical Memory

The number of physical memory used by the 15572208k used

708404k Free amount of physical memory remaining

1677664k buffers The number of physical memory as the kernel cache

Line five:

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/8303990b8cf2e1173cd47a10f4ccb25c/ 32841f0d40094d8094c60b90aeb0ce09 "style=" Margin-top:8px;height:auto; "alt=" 32841f0d40094d8094c60b90aeb0ce09 "/ >

4095992k Total Swap partition totals

Swap partition used by 480k used

4095512k Free Swap partition

9261456k cached cache for interactive partitioning

Line 6th:

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/8303990b8cf2e1173cd47a10f4ccb25c/ A59a4ea743ec461687e754ab5fc227b9 "style=" Margin-top:8px;height:auto; "alt=" a59a4ea743ec461687e754ab5fc227b9 "/ >

PID Process ID

User ID of the owner of the user process

PR-Priority

NI nice value. Negative values indicate high priority, positive values indicate low priority

The total amount of virtual memory used by the VIRT process, in kilobytes. Virt=swap+res

Res

SHR shared memory size, in kilobytes

The amount of physical memory that is used outside of the S data executable code (data segment + stack), in kilobytes

%cpu percentage of CPU time that was last updated to current

Percentage of physical memory used by the%MEM process

Total CPU time used by the time+ process, Unit 1/100 sec

Command name/command line

Advanced View

1. In the base view, you can monitor the status of each logical CPU by pressing the number key "1":

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/8303990b8cf2e1173cd47a10f4ccb25c/ 4656bef1fd6943dbbe3aff865bd2946e "style=" margin-top:8px;height:319.675px;width:800px; "alt=" 4656bef1fd6943dbbe3aff865bd2946e "/>

2. In the basic view, press the letter key "B", you can highlight the running process, press the letter key "Y" to achieve the highlight of the open running process, by the letter "X", the opening/closing sequence of the highlight effect, as follows:

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/8303990b8cf2e1173cd47a10f4ccb25c/ B2D0F1E77F6A4BF6B717375AC17FE4FD "style=" Margin-top:8px;height:auto; "alt=" B2D0F1E77F6A4BF6B717375AC17FE4FD "/ >

Use "Shift + <" and "SHIFT + >" to translate the highlight sequence left and right, using "shift+>":

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/8303990b8cf2e1173cd47a10f4ccb25c/ D4A235759A1249DCA7A889CEE408A0FB "style=" Margin-top:8px;height:auto; "alt=" D4A235759A1249DCA7A889CEE408A0FB "/ >

By using "F" you can dynamically add or not display the corresponding fields, directly by the first letter of the option to select, enter:

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/8303990b8cf2e1173cd47a10f4ccb25c/ 737bb807bdd940cbb09173dd9dc0002f "style=" margin-top:8px;height:394.747px;width:800px; "alt=" 737bb807bdd940cbb09173dd9dc0002f "/>

Other view

In normal view, the following letter keys can be used to achieve the appropriate function:

Ctrl+l Erase and rewrite the screen

M, (note upper case), sorted by memory usage

P, sort based on percent CPU usage

T, sorted by Time/accumulated time.

K, enter the PID to kill to get to the relevant process.

h, you can enter the top command help screen.

I, ignoring idle or zombie processes. This is a switch command.

Q, exit the program.

R, reschedule the priority level of a process. The user is prompted to enter the process PID that needs to be changed and the process priority value that needs to be set. Entering a positive value lowers the priority and, conversely, gives it a higher priority. The default value is 10.

s, change the delay time between two refreshes. The user is prompted to enter a new time unit in S. If there are decimals, it is converted into Ms. Enter a value of 0 and the system will continue to refresh, the default value is 5s. Be careful not to set too small, causing a constant refresh, see the refresh situation, and the system load will be greatly increased.

W writes the current settings to the ~/.TOPRC file. This is the recommended way to write top configuration files.

C, toggle display command name and full command line.

T, toggles the display of process and CPU status information.

m, toggle display memory information.

I, toggle display average load and start time information.

Top Command parameters:

d Specifies the interval between every two times the screen information is refreshed. Of course the user can use the s interactive command to change it.

P only monitors the state of a process by specifying the monitoring process ID.

Q This option will cause top to refresh without any delay. If the calling program has Superuser privileges, top will run at the highest possible priority.

S Specifies the cumulative mode.

s enables the top command to run in Safe mode. This removes the potential danger of interactive commands.

I make top not show any idle or zombie processes.

C Displays the entire command line instead of just displaying the command name.


This article is from the "Hoccboy" blog, make sure to keep this source http://hoccboy.blog.51cto.com/7189696/1736138

Top details of Linux system monitoring tools

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.