Linux CENTOS7 Daily Operations-use W to view system loads, vmstat commands, top commands, SAR commands, nload commands

Source: Internet
Author: User
Tags memory usage

One, use W to view the system load

W, uptime View system load, 0.00 means 1 minutes load 0

Cat/proc/cpuinfo View CPU Cores

Second, Vmstat command, view process, CPU, memory, swap, IO, system

R, SWPD, Si, so, Bi, bo, US, WA

Dynamic display 5 times per second

Run, block process waits, swap partition memory is not enough to put,

Si/so how many kilobytes of data from swap into/out memory, Bi/bo read/write memory from disk, US user consumes CPU percentage, does not exceed 100,id idle, WA waits wait

Third, top

Top view process usage resources, updated 3 seconds

Top-c Show detailed process information

Top-bin1 static display of all processes

Q Exit, number 1 shows all cores cpu,m sorted by memory usage

Large p sorted by CPU usage

Iv. SAR Command

[email protected] ~]# Yum install-y sysstat

Sar-n DEV 1 5 network card traffic

SAR-Q System Load

Sar-b Disk Read and write

Sar-f/var/log/sa/sa08 View # No. 08 History file

V. nload command

Yum Install-y epel-release

Yum install-y nload

Linux CENTOS7 Daily Operations-use W to view system loads, vmstat commands, top commands, SAR commands, nload commands

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.