Linux cluster Monitoring common commands-Memo

Source: Internet
Author: User

1.load Average

Top

Uptime

2.CPU Utilization

Top

1 Multi-core CPU view

Shift+h using threads to view

-p Specifies the process to view

Top | grep Cpu

3. Disk space remaining

Df

-H output by unit format

Du

-H output by unit format

4. Network traffic

Sar-n DEV 1 1

-N Reporting Network status

DEV View network traffic for each network card

N Interval of seconds

N Take a total of several

5. Disk I/O

Iostat-d-K

6. Memory usage

Free

-M in megabytes

-G in GB

Vmstat [-v] [-n] [delay [count]]

-V indicates print out version information

-n means that the output header information is displayed only once during cyclic output;

Delay is the lag time between two outputs;

Count refers to the number of times that are counted at this interval.

For vmstat output The meaning of each field, you can run man Vmstat view


This article is from the "AUB" blog, make sure to keep this source http://aubdiy.blog.51cto.com/2978849/1576399

Linux cluster Monitoring common commands-Memo

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.