zoukankan      html  css  js  c++  java
  • (转)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

       在系统模式下使用CPU的时间百分比。

    User mode CPUutilization

       Percent of time CPU is utilized in user mode

       在用户模式下使用CPU的时间百分比。

  • 相关阅读:
    设计模式系列之-抽象工厂
    设计模式系列之-工厂方法
    设计模式系列之-简单工厂
    键盘事件keydown、keypress、keyup随笔整理总结(摘抄)
    js 方法重载
    JS禁止右键
    jquery.validate运用和扩展
    Javascript Math.ceil()与Math.round()与Math.floor()区别
    Jquery操作下拉框(DropDownList)实现取值赋值
    jquery中attr和prop的区别
  • 原文地址:https://www.cnblogs.com/ywcz060/p/5564587.html
Copyright © 2011-2022 走看看