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
There are also alert messages issued in the first two hours:
2011-2-15 (Tuesday) 16:50
Warning-load average:10.52, 10.10, 10.06
2011-2-15 (Tuesday) 15:40
Warning-load average:8.27, 9.23, 9.48
first, what does the
These days I have been studying shell scripts and writing some system load and CPU monitoring script programs. Without nagios monitoring software, as long as the server can access the Internet, you can send an email to remind the administrator of the system load and CPU usage. I. install the shell script and write some system load and CPU monitoring script progra
Transferred from: http://blog.csdn.net/goodluckwhh/article/details/9005585Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.Directory (?) [-]
One per CPU variable
Two-atom operation
Three optimizations and memory barriers
Four spin lock
Spin lock
Data structure and macro functions for spin locks
Read/write Spin lock
Correlation function of read-write
■ Pisces
We have done a lot of articles about CPU, but for most users, we may not have the opportunity to split the CPU in the chassis. Therefore, this time, we will learn about our processor through the system and simple software methods.
EntryIf you only want to know your CPU model, Windows Me/2000/XP operating systems can help us complete this task. After ente
(corrected) This problem includes the hardware structure of the CPU and the category of assembly language. Here, comb it.First of all, the main "Li Jianguo" self-answer part of the question is said to be correct,the instruction set of the CPU is the interface between the two tiers of software and CPU, and the CPU itsel
four pieces of data from/proc/STAT: user mode, nice mode, and system mode) and idle processor time (idle ). They are located in the first line of the/proc/STAT file. The CPU usage is calculated using the following formula.CPU usage = 100 * (User + nice + System)/(User + nice + system + idle)(2) memory usageHere we need to extract two data from the/proc/meminfo file, the current memory usage (cmem) and the total memory (amem ).Memory usage percentage
1. How to maintain CPU
Q: How do I maintain the CPU?
Answer: First of all to ensure good heat dissipation. The normal operating temperature of the CPU is below 50 ℃, the specific operating temperature depends on the frequency of different CPUs. Heatsink quality should be good enough, and with the speed of the function, so with the motherboard monitoring funct
subsystems are mounted by default.Cgroup Subsystem IntroductionOf course, the user can customize the subsystem and mount it.The following is a brief introduction to each subsystem:
The Blkio setting restricts the input and output control of each block device. For example: disks, CDs, USB, and so on.
The CPU uses the scheduler to provide CPU access to the Cgroup task.
CPUACCT generates
As the core component of the computer, the CPU (central processor unit) has been very mysterious in the hearts of users: in the minds of most users, it is just an abbreviation, they cannot even write all of it. In the eyes of some hardware experts, the CPU is at most a block of more than 10 square centimeters, with many feet, the CPU core is less than 1 cm² large
Physical encapsulation of the CPU, a physical package using a separate CPU physical slot, sharing power and fans;CPU Physical Core: Encapsulates multiple independent CPU cores in a physical package, each with its own complete hardware unit.CPU Logic Core: A CPU physical core
Cd/sys/devices/system/cpu/cpu0/cpufreq Cat Scaling_available_governorsHotPlug Conservative OnDemand Userspace PowerSave interactive performanceIn order to be able to several common CPU frequency regulation mode has a basic understanding of the following simple summed up according to the characteristics of different ways to do in the performance and power-saving between the two contradictions make a choice t
response to the database is the statement execution time is short enough!The performance of the database using operation and maintenance personnel, simple may be seen as CPU, memory, disk three major indicators are normal, then today we start from the CPU, see what the CPU can see what problems!No more nonsense, just open the whole-------------------------------
This blog post focuses on the features and functions of the CPU registers around the base part of the registers in the 80x86 CPU.ObjectiveFirst, let's introduce the history of Intel CPUs.Intel CPU Series, initially 4-bit microprocessor 4004, then to 8-bit microprocessor 8008, then 8-bit microprocessor 8080, and later 16-bit microprocessor 8086.Starting from 8086, Intel entered the so-called x86 era.Intel 80
CPU usage depends primarily on what kind of resources are running on the CPU, such as copying a file that typically consumes less CPU, because most of the work is done by DMA (Direct Memory Access), but after the copy is complete, the CPU knows that the copy has been completed. Scientific computing usually takes up mor
CPU Footprint 100% Solution
In general, CPU accounted for 100% of the words our computer will always slow down, and many times we can do a little bit of change can be solved, without asking those prawns.
When the machine slows down, the first thing we think of is, of course, the task manager, to see exactly which program accounted for the ratio, if it is a large program that can be forgiven, in the shutdow
Nowadays, there is no uniformity in the naming of the same thing on the Internet. It seems like there are many types of things, so it is necessary to clarify the clues first, find out the equivalence relationships between different names:
1. CPU external frequency = External frequency
2. CPU frequency = clock speed
3. Frontend bus frequency
4. System bus frequency
5. MultiplierRelationships:
The externa
In fact, the people who write Java seems to have nothing to do with the CPU, at most and we mentioned in the previous how to run the CPU full, how to set the number of threads is a bit of a relationship, but the algorithm is only a reference, many scenarios need to take practical means to solve can And we'll consider how to make the CPU not so full after the
When using the top command, we will see this line: What do the values in it mean? I was asked this question today and found that the answer is not very clear. Sure enough, the most frequently used top commands every day are still unknown... Shame... So I checked some information: The official explanation of Cpu (s) indicates cpu information. The meaning of each value is: us: usercputime (or) % CPUtimespenti
0. Prepare knowledgeHyper-Threading Technology (hyper-threading): Using special hardware instructions, the two logical cores (CPU core) are simulated into two physical chips,Allows a single processor to use thread-level parallel computing, which is compatible with multi-threaded operating systems and software, reducing the idle time of the CPU and improving the efficiency of
Add by Zhj: Here's a good explanation of what WA means in the top command, and we know that when Io is blocked, the operating system changes the process to a blocking state, and the CPU is scheduled to run other processes.When the CPU is idle, it checks for blocked IO (disk or network), and if so, it is WA; if not, that is the real idle. In the top command, 85.1%id is the true idle ratio, and has the follow
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.