- 1、本文档共15页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
cpu 性能分析工具(CPU performance analysis tool)
cpu 性能分析工具(CPU performance analysis tool)
Linux view the CPU performance and the working state of vmstat, iostat, mpstat command, SAR, top
To measure the performance index of CPU:
1, the use of CPU users;
CPU run a normal user process
CPU running niced process
CPU real time operation process
2, the use of CPU system;
For I/O: interrupt and driver management
For memory management: page exchange
User process management: process is started and context switch
3, WIO: I/O ratio for the CPU process is waiting for disk idle.
4, CPU idle rate, in addition to the above WIO free time
5, CPU for the context exchange ratio
6, nice
7, real-time
8, the process of running the length of the queue
9, the average load
Overall performance monitoring CPU commonly used in Linux tools:
The average information, mpstat:mpstat can not only see all CPU, but also to see the specified CPU information.
Section vmstat: the average information can view all CPU view CPU queue information;
The average information, iostat: can view all CPU.
Section SAR: like mpstat, the average information can not only see the CPU, but also to see the specified CPU information.
Section top: display information with close to PS, but top can understand the consumption of CPU, according to the specified time to update the display.
Below introduced:
A, vmstat
[root@localhost ~]#vmstat -n 3 (each 3 second refresh time)
Procsmemoryswapiosystemcpu
R B swpd free buff cache si so Bi Bo in CS US sy ID wa
10144186164105252 238684800181668324 21310
20144189620105252 23868480001771039 12103410560
00144214324105252325630
00144202212105252 23868480001891035 558203770
20144158772105252 23868480002031065 28327014150
Red mark related parameters CPU
PROC (ESSES)
If --r: is running in the processes sequence (process R) is greater than the number of continuous systems in the CPU system is now running slow, with most of the process is waiting for CPU.
If the output is greater than the number of R system with CPU 4 tim
您可能关注的文档
- autorun.inf使用方法(Autorun.inf usage).doc
- 9《课间十分钟》(9, ten minutes between classes).doc
- avr单片机实现的485通讯从机接收程序(带帧校验)单片机(AVR microcontroller to achieve the 485 communication from the machine to receive procedures (with frame check), single-chip microcomputer).doc
- a开头的易错成语(At the beginning of the a error prone idioms).doc
- a方太的企业文化(A FOTILE's corporate culture).doc
- a级面介绍(Level a presentation).doc
- avi所需插件下载及各个插件用途(Avi plug-in download and the use of plug-ins).doc
- autocad 常用快捷键(autocad 常用快捷键).doc
- atmega32熔丝位设置终于成功(Atmega32 fuse bit setting finally succeeded).doc
- a股主力操盘密码破译(A major trader cryptographers).doc
文档评论(0)