LR监控Linux系统性能计数器详解

从LR里面add measurement,填写linux机器的IP,出现所有unix/linux的计数器,包括cpu的,mem的,disk,network的。这里介绍几个常用的:

(对于如何监控Linux,请参考之前这写的一篇文章《loadrunner监控Linux之前需要做的准备工作》

average load :在过去的1分钟的平均负载

cpu utilization: cpu的使用率

disk traffic: disk传输率

paging rate:每秒从磁盘读到物理内存,或者从物理内存写到页面文件的内存页数

Swap-in rate:每秒交换到内存的进程数

Swap-out rate:每秒从内存交换出来的进程

如果发现服务器重启后不能监控了,可以手动重启rpc.rstatd。

LR监控Linux系统资源详解:

Average load:

Average number of processes simultaneously in Ready state during thelast minute

上一分钟同时处于“就绪”状态的平均进程数

Collision rate

Collisions per second detected on the Ethernet

每秒钟在以太网上检测到的冲突数。

Context switches rate

Number of switches between processes or threads, per second

每秒钟在进程或线程之间的切换次数。

CPU utilization

Percent of time that the CPU is utilized

CPU的使用时间百分比。

Disk rate

Rate of disk transfers

磁盘传输速率。

Incomingpackets error rate

Errors per second while receiving Ethernet packets

接收以太网数据包时每秒钟接收到的错误数。

Incomingpackets rate

Incoming Ethernet packets per second

每秒钟传入的以太网数据包数。

Interrupt rate

Number of device interrupts per second

每秒内的设备中断数。

Outgoingpackets errors rate

Errors per second while sending Ethernet packets

发送以太网数据包时每秒钟发送的错误数。

Outgoingpackets rate

Outgoing Ethernet packets per second

每秒钟传出的以太网数据包数。

Page-inrate

Number of pages read to physical memory, per second

指标表明的是每秒交换到物理内存中的页面数。

Page-outrate

Number of pages written to pagefile(s) and removed from physical memory,per second

表示每秒从物理内存中移出或者写入到页面数。

Paging rate

Number of pages read to physical memory or written to pagefile(s), persecond

每秒钟读入物理内存或写入页面文件中的页数。

Swap-in rate

Number of processes being swapped

每秒交换到内存的进程数。

Swap-out rate

Number of processes being swapped

每秒从内存交换出来的进程数。

System mode CPUutilization

Percent of time that the CPU is utilized in system mode

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/8492807c3df194af72738425d376448a.html