To view Linux system load:
http://www.lupaworld.com/ article-217011-1.html
In the Linux system, uptime, top and other commands will have the output of the load average on average.
- It is not waiting for the result of the I/O operation
-it does not actively enter the waiting state (That is, you did not call ' wait ')
-not stopped (ex: Waiting to terminate)
example:
[[email protected] init.d]# uptime 7:51pm up 2 days, 5:43, 2 users, load average:8.13, 5.90, 4.94
The final content of the command output represents the average number of processes running in the queue in the past 1, 5, 15 minutes.
In general, as long as the current number of active processes per CPU is not greater than 3 then the performance of the system is good, if the number of tasks per CPU is greater than 5, then the performance of this machine is a serious problem. For the above example, assuming that the system has two CPUs, the current number of tasks per CPU is: 8.13/2=4.065. This indicates that the performance of the system is acceptable.
Now the situation is: Flash upload method After sending processing instructions, Flash will continue to send the request to see if the conversion is completed, the proposal does not exceed 50 pictures, or the conversion time is too long, Flash will send a lot of requests come over, if the control of the interval, the interval to adjust a little, The number of times that the user waits has multiplied accordingly.
View system cores Cat/proc/cpuinfo |grep ' processor ' |wc-l
grep ' physical id '/proc/cpuinfo | Sort | Uniq | Wc-l
Linux How to view CPU, memory, machine model, NIC informationLinux View CPU performance and operating status instructions Mpstat,vmstat,iostat,sar,top
Linux Common Instructions---system load