Linux (CentOS)-Performance monitoring

Source: Internet
Author: User
Tags cpu usage

This article focuses on performance performance monitoring on Linux (CentOS).

1. Monitor CPU Usage--uptime

The command will print out how long the current time system has been running. Average system load of logged on users

The load here is per unit of time, the CPU waits in the queue, evaluates how many processes are waiting, the more processes waiting, the busier the CPU.

2. Monitoring the use of memory and swap partitions--free

3. Usage of system disk--DF

Here we use Df-h to personalize the display of capacity information

4. Monitor network usage--ip and netstat

IP can view the interface information of the network card, in CentOS, the network card is not unified command for ETHX, but will check the host hardware information, according to different network card to make different commands, netstat command can see the server open port information and network link status.

5. Print network connection, routing table, network interface statistics and other information

6. Monitor process usage--ps and top commands

Ps

View current process information (PS has different syntax in different versions, this is CentOS)

PS-E View All process information

Ps-ef displaying process information in full format

Top Dynamic View process information

top-d Refresh interval time, default 3 seconds

Top-p viewing the PID of a specified process

Linux (CentOS)-Performance monitoring

Related Article

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.