AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only

The raw nmon data about to "%CPU Used (The percentage of the processor that is used in the last interval.)" How nmon calcuate for each interval time?

  • 1.  The raw nmon data about to "%CPU Used (The percentage of the processor that is used in the last interval.)" How nmon calcuate for each interval time?

    Posted Wed November 30, 2022 06:55 AM


    Hello Nmon expert,

    The raw nmon data about to "%CPU Used (The percentage of the processor that is used in the last interval.)" How nmon calcuate for each interval time?

    By reference from  IBM URL: nmon Command
        The  "%CPU Used" is The percentage of the processor that is used in the last interval.
        and  "%CPU" Percentage of CPU utilized by the specific thread.

    When check the content in nmon raw data in "BBBL" and "TOP".

    NMON:BBBL

        CPU in sys 80
        Virtual CPU 22
        Logical CPU 88
       smt threads 4
       capped 0
       min Virtual 1
       max Virtual 32
       min Logical 1
       max Logical 128
       min Capacity 0.1
      max Capacity 16
      Entitled Capacity 5.9

    Once generated via nmon analyzer the result shown in "top".

    Time PID %CPU %Usr %Sys Threads Size ResText ResData CharIO %RAM Paging Command WLMclass IntervalCPU% WSet User Arg
    Avg. WAvg. Max. WSet=> Min. Avg. Max. Avg. WAvg. Max.
    09:26:20 262152 210.6 210.6 0 12 1472 0 1472 0 0 0 lrud Unclassified 105.30 1,472 root lrud
    09:21:19 262152 174.19 174.19 0 12 1472 0 1472 0 0 0 lrud Unclassified 87.10 1,472 root lrud
    09:31:20 262152 108.69 108.69 0 12 1472 0 1472 0 0 0 lrud Unclassified 54.35 1,472 root lrud
    02:21:19 262152 77.67 77.67 0 12 1472 0 1472 0 0 0 lrud Unclassified 38.84 1,472 root lrud
    02:06:19 262152 74.72 74.72 0 12 1472 0 1472 0 0 0 lrud Unclassified 37.36 1,472 root lrud
    02:16:19 262152 72.15 72.15 0 12 1472 0 1472 0 0 0 lrud Unclassified 36.08 1,472 root lrud
    02:26:19 262152 70.44 70.44 0 12 1472 0 1472 0 0 0 lrud Unclassified 35.22 1,472 root lrud

    Excerpt for only "%CPU Avg."
       Time           PID       %CPU
                                           Avg.
       09:26:20 262152 210.6
       09:21:19 262152 174.19
       09:31:20 262152 108.69
       02:21:19 262152 77.67
    ....
     
       Customer would like to know, how nmon from raw data and then analyser calculation the "%CPU Avg." for each interval?

    Ibm remove preview
    nmon Command
    View this on Ibm >


    Best regards,
    Charin Kumjudpai (IBMTH as local AIX support)



    ------------------------------
    CHARIN KUMJUDPAI
    ------------------------------