How to calculate :CPUCpuUtil, FSCapacity, NETPACKETSIN, NETPACKETSOUT, NETKBTOTALPERSEC

Version 8
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    PATROL for Unix and Linux


    COMPONENT:

    PATROL for UNIX and Linux v1.1.00


    APPLIES TO:

    PATROL for Unix and Linux 9.13.XX



    QUESTION:

    How to calculate: How to calculate :CPUCpuUtil, FSCapacity, NETPACKETSIN, NETPACKETSOUT, NETKBTOTALPERSEC

       
       BMC Performance Manager for Serve    rs (version 2.6.00)  
    DR: PATROL Knowledge Module for Unix;


    ANSWER:

     

    We use the output of netstat -ni from most of UNIX OS and the ouput of ifconfig on Linux system The output is sent to the NETColl collector which parses the data to the parameters

      
       

    For NETPacketsIn using netstat -ni, the value is calculated as

       

    DELTAIpkts where DELTAIpkts (current Ipkts - previous Ipkts)

       


    and same for NETPacketsOut, the value is is calculated as (Current Opkts - Previous Opkts)

       


    Here's as well an example of netsat -ni output with the NETWORK parameter output on a AIX system:

       

    netstat -ni

       

    Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll

       

    en0 1500 link#2 0.14.5e.c.16.c6 68853537 0 11152783 108 0

       

    en0 1500 137.72.24 137.72.27.102 68853537 0 11152783 108 0
     

       

    5 minutes later :

       

    en0 1500 link#2 0.14.5e.c.16.c6 68858822 0 11154561 108 0

       

    en0 1500 137.72.24 137.72.27.102 68858822 0 11154561 108 0

       

    for en0 network device the the parameter

       

    NETPacketsIn

       

    Ipkts column value for latest ouptut of netstat - previous output Ipkts 

    Also check the attached document to get more details of above parameters and the remaining parameters i.e CPUCpuUtil
    , FSCapacity, NETKBTOTALPERSEC 

      

     


    Article Number:

    000030319


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles