nmon analysis report

nmon description and analysis of results

Use nmon analyser results generated file contains more than N sheet page, just below combined with personal experience of several major page icon some analysis Introduction:

First, the overall information page SYS_SUMM

1. The blue line is a line chart cpu occupancy situation changes; powder line changes disk IO;

2. The following table various overall data bit disk on the left, include the following:

  • Avg tps during an interval: in each time interval, the number of the IO per second, as may be appreciated that the number of commit processing
  • Max tps during an interval: each time interval, the maximum number of times per second IO;
  • Max tps interval time: maximum number of transmission point in time appears;
  • Total number of Mbytes read: the number of bytes read the entire monitoring period;
  • Total number of Mbytes written: the number of bytes to write the entire monitoring time;
  • Read / Write Ratio: ratio reader;

3. The overall data for the right of the CPU, the following information can be acquired;

  • cpu is User / Sys / Wait percentage;
  • The overall average rate of idle cpu / share, as well as the largest free rate / share;
  • Cpu ratio of the maximum and average data;

Two, cpu the detailed data

1.CPU_ALL Page: This page can be seen at each control point data as a whole as shown below's CPU, including User%, Sys%, Wait%, Idle%, CPU% and CPUs (cpu number) and the corresponding charts;

 

 

2.CPU_SUMM Page: This page can see the overall data for each CPU in the following figure, including User%, Sys%, Wait%, Idle% and corresponding charts;

 

 

 

3.cpu00x page: These pages can see the data for each CPU in each monitoring point, including User%, Sys%, Wait%, Idle%, CPU% and corresponding charts;

Third, the disk information data

1、DISK_SUMM页面:记录各个监控时间点的磁盘读写和IO次数,以及一些计算值;如下图,包括下面一些详细信息:

 

 

  • Disk Read KB/s:监控时间间隔内磁盘整体每秒读取字节数
  • Disk Write KB/s:监控时间间隔内磁盘整体每秒写字节数
  • IO/sec:监控时间间隔内磁盘整体平均每秒IO数
  • 以及上面是哪个数据对应的Avg、WAvg和Max以及对应图表,WAvg公式如IF(B73=0,0,MAX(SUMPRODUCT(B2:B71,B2:B71)/SUM(B2:B71)-B73,0)),该数字不应该和AVG相差很大;

 2、DISKBSIZE页面:详细记录了各监控时间点每个hdisk的磁盘块的大小,如我的服务器包括了sda、sda1、sda2、sda3以及dm-0、dm-1、dm-2、dm-3(dm是device mapper(设备映射))以及对应的Avg、WAvg和Max计算值;

3、DISKBUSY页面:详细记录了各监控时间点每个hdisk繁忙情况,包括的点同DISKBSIZE页面;

4、DISKREAD页面:详细记录了各监控时间点每个hdisk每秒读的子节数,包括的点同DISKBSIZE页面;

5、DISKWRITE页面:详细记录了各监控时间点每个hdisk每秒写的子节数,包括的点同DISKBSIZE页面;

6、DISKXFER页面:详细记录了各监控时间点每个hdisk每秒的IO次数,包括的点同DISKBSIZE页面;

四、内存详细信息

1.MENM页面:该页面包含了如下图各监控时间点内存各方面的信息数据和图表,主要信息如下:

  • memtoatl:服务器总内存,单位M;
  • swaptotal:虚拟总内存;
  • memfree:剩余总内存;
  • swapfree:剩余虚拟内存;

五、网络信息

1、Net页面:该页面包含了每个监控时间点各个网络适配器的读写等数据传输速率(千字节/秒),如我的服务器包括适配器有eth0和lo;

2、NETPACKET页面:该页面包含了每个监控时间点各个网络适配器读写包的数量;

 

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Ø Sys_summ页,为服务器资源使用率汇总

我们需求的主要数据为cpu,mem,io和net。如下图:

 

将以上内容,如实填写至测试报告中。

Ø Cpu_all页,是服务器cpu使用率的详细数据

我们主要关注的内容为下图

 

Cpu使用率分为三部分,系统、用户和等待,分别对应图中红色、蓝色和绿色部分。cpu使用率100%的情况,如果红色占大部分,说明系统进程本身占据大部分cpu资源,可考虑系统是否存在过多僵尸进程或者系统进程存在死循环等原因;如果蓝色占大部分,说明用户进程占用大量cpu资源,可考虑被压系统是否压力过大,或者被压系统存在大量运算等消耗cpu资源的操作。

Ø Mem页,是服务器内存使用率的概况。

 

图内蓝色线条为物理内存使用率,红色线条为虚拟内存使用率。我们统计的内存使用率为:(已用物理内存+已用虚拟内存)/(物理内存+虚拟内存)x100%。

Ø Memnew页,是服务器内存使用率的详细数据

我们重点关注下图:

 

图中蓝色部分为系统占用内存,紫色为进程占用内存,黄色为文件占用内存。假设出现内存使用率100%的情况,如蓝色+紫色部分较低,其余全是黄色部分,则说明系统存在大量文件操作,文件被写入内存以加速读写,不影响内存实际使用效率;如蓝色+紫色部分占90%以上,则说明内存使用率较高,需要结合page页综合分析是否存在内存泄露等问题。

Ø Page页,是交换空间的使用情况

 

pgin每秒钟所读入的页数,包括从文件系统读取的页数

pgout每秒钟所写出的页数,包括写到文件系统的页数

pgsin每秒钟从页面空间所读取的页数

pgsout每秒钟写到页面空间的页数

fsin分析器计算的数据为pgin-pgsin的图形处理所用

fsout分析器计算的数据为pgout-pgsout的图形处理所用

如果存在大量的频繁换入换出现象,则说明物理内存与虚拟内存之间存在频繁的切换,物理内存可能存在问题。

 

Ø Disk_SUMM页,磁盘

 

Disk Read 每秒读的千字节数目 图中为蓝色部分

Disk Write 每秒写的千字节数目 图中为红色部分

IO/sec 每秒进行的IO数(一次IO就是控制操作一次读或写,IO块就是读或写的大小),图中为上方黑色的线,报告中写的是这个参数的值

Ø Net页 网络

 

Total read 每秒接收到的千字节的数目,如图蓝色部分

Total write 每秒发送的千字节的数目,如图红色部分

网络=Total read-Total write

网络的指标一般要根据设备来确定,百兆网卡的意思是每秒能够传输的网络流量是100Mbps,即最大的下载速度是12.5MB/s,一般服务器是千兆网卡,即125MB/s

 

Ø Top页,是各种使用率的top事件

如下图,top页里记录了各个进程的cpu使用率,mem使用率,disk使用率以及net使用率。我们可以从图中轻松抓取到最占用cpu或者最占用mem的程序,为调优提供线索。

Guess you like

Origin www.cnblogs.com/guanghuiqq/p/11352102.html
Recommended