DX Application Performance Management

  • 1.  Question on VMSTAT CPU Metrics

    Posted Jun 29, 2012 03:47 PM
    Hi,
    One quick question

    We are getting the below Vamstat CPU metrics in Linux environment.

    IOWait%: Time spent waiting for IO
    Idle%: Time spent idle.
    System%: Time spent running kernel code.
    User%: Time spent running non-kernel code.
    Utilization%: CPU utilization percentage.
    According to the vmstat man pages all the above metrics depends on the time not on the %.
    (I might be wrong in this statement - in vmstat script(document libarry) I found percentage calucluations only for the utilization)

    For example in vmstat script defined value user % is 'us' => {'metricName'=>'Cpu:User %','metricType'=>'IntCounter','ratio'=>1}
    According the vmstat man pages us = Time spent running non-kernel code.
    Can you please clarify me how we are calculating the % and the metric definitions for above listed metrics except utilization?

    Thanks,


  • 2.  RE: Question on VMSTAT CPU Metrics

    Broadcom Employee
    Posted Jun 29, 2012 06:01 PM
    What version of Linux are you running?


  • 3.  RE: Question on VMSTAT CPU Metrics

    Posted Jul 02, 2012 08:24 AM
    HI,

    We are using Linux 2.6.18-238.el5.

    Thanks.


  • 4.  Re: Question on VMSTAT CPU Metrics
    Best Answer

    Broadcom Employee
    Posted Apr 21, 2015 09:04 PM

    Closing discussion.

     

    There are three different vmstat scripts available: AIX, Solaris, and RHEL. Consider using one of those or use them as reference.