Linux command ---- analyze CPU bottlenecks to measure CPU performance indicators: 1. CPU usage; CPU running regular user processes CPU running nicedprocessCPU running real-time processes 2. CPU usage; for IO management: interrupt and driver for
In Linux, the meaning of CPU load and CPU usage indicates that the Nagios alarm information was viewed yesterday. It was found that the CPU load on one of the servers was too heavy and the machine was CentOS. Information: 2011-2-15 (Tuesday) 17: 50
Article Title: CPU load in Linux. Linux is a technology channel of the IT lab in China. Some basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open-source systems view the Nagios alarm
Physical CPU: The physical CPU is relative to the virtual CPU concept, refers to the actual existence of the processor, is that we can see, the touch of the CPU, is inserted in the motherboard above.Physical Core: The number of physical cores that
I. Preface in order to understand the meaning of this article more conveniently, it is better to look at the following cumbersome concepts and make it easier to understand. Do not understand these concepts, even after reading you can only know, run
yesterday, we looked at Nagios alert information and found that one of the servers was overloaded and the machine was a centos system. The information is as follows:
2011-2-15 (Tuesday) 17:50
Warning-load average:9.73, 10.67, 10.49
Metrics to measure CPU performance:1, the user uses the CPU situation;CPU runs regular user processesCPU Running niced ProcessCPU running real-time process2, the system uses CPU condition;For I/O Management: interrupts and drivesFor memory
To view the number of logical CPUs:#cat /proc/cpuinfo |grep "processor"|sort -u|wc -l24To view the number of physical CPUs:#grep "physical id" /proc/cpuinfo|sort -u|wc -l 2#grep "physical id" /proc/cpuinfo|sort -u
Proc File systemThe/proc file system is a pseudo-file system that only exists in memory and does not occupy external memory space. It provides the interface for the kernel to communicate with the process in a file system manner. Users and
Metrics to measure CPU performance:1, the user uses the CPU situation;CPU runs regular user processesCPU Running niced ProcessCPU running real-time process2, the system uses CPU condition;For I/O Management: interrupts and drivesFor memory
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.