Introduction to monitoring under Linux

Source: Internet
Author: User

1. Disk IO monitoring Tool iotop

Input command: Iotop main View the disk IO information used by the program

Installation: Yum-y Install Iotop

First line:
10:01:23-Current system time
126 days, 14:29-the system has been running for 126 day, 14 hours, 29 minutes (not restarted during this period)
2 users-currently has 2 users logged into the system
The three numbers behind the load average:1.15, 1.42, 1.44-load average are 1-minute, 5-minute, 15-minute loads respectively.

Second line:
tasks-task (process), the system now has a total of 183 processes, of which there are 1 in the running, 182 in hibernation (sleep), 0 in the stoped state, and 0 in the zombie State (zombie).

Third line: CPU status
6.7% us-the percentage of CPU consumed by user space.
0.4% sy-the percentage of CPU consumed by the kernel space.
0.0% ni-The percentage of processes that have changed priority CPU%
Span style= "Font-family:microsoft Yahei; font-size:15px ">92.9% id-Idle CPU percentage
0.0% wa- Percentage of Io waiting on CPU
0.0% hi-hard Interrupt (Hardware IRQ) Percentage of CPU occupied
0.0% si-soft Interrupt (software Interrupts) Percentage of CPU consumed

Line four: Memory status
8306544k total-Total Physical memory (8GB)
7775876k used-Total Memory in use (7.7GB)
530668k free-Total free memory (530M)
79236k buffers-Cache Memory (79M)

Line five: Swap swap partition
2031608k total-Swap Area total (2GB)
Total swap area used by 2556k used-(2.5M)
2029052k free-Total Idle swap area (2GB)
4231276k cached-Buffer Swap area total (4GB)

Common shortcut keys:

left and right arrows: Change the sorting method, by default, sort by IO. R: Change the sort order. O: Only processes with IO output are displayed. P: Switch the way the process/thread is displayed. A: Displays cumulative usage. Q: Exit.

from: Http://man.linuxde.net/iotop

Left and right arrows: Change the sorting mode by default by IO sort

R: Change the sort order

O: Show only programs with IO output

P: Process/thread display mode toggle

A: Show cumulative usage

Q: Exit

switching the way processes/threads are displayed

from: http://man.linuxde.net/iotop=

Introduction to monitoring under Linux

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.