Repost an article about Linux monitoring processes...

Source: Internet
Author: User

Http://linux.vbird.org/linux_basic/0440processcontrol.php

 

Top: Failed tty get error because the-B option is not added to top.

Free is the used, free, swap, and so on for monitoring memory.

Vmstat monitors hard disk usage. Io situations, including memory, swap, Io, system, CPU, etc.

Netstat monitors network usage, including socket and protocol, as well as transmitted bytes and accepted bytes, and socket-type stream/dgram/raw

PS aux is used to monitor processes. Generally, we can see the percentage of CPU usage, memory usage, and process priority.

PS-L is also used to monitor processes. Generally, it depends on the CPU and memory usage of processes in bash.

Top is useful for monitoring a process. Including Io, CPU, and memory. Wa is very useful. It is the percentage of wait event or Io. Id indicates the CPU idle.

Basically, script monitoring also uses these common things ..

 

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.