Whyde!!! Thanks Vincent.....& one more idea I got ....
cpuidlediff = cpuidle1 - cpuidle2 cpuuserdiff = cpuuser1 - cpuuser2 cpusystemdiff= cpusystem1 - cpusystem2 To get Total CPU Usage, allcpu=(cpuidlediff + cpuuserdiff + cpusystemdiff) To get indivisual usage in %, cpuidlevalue=((cpuidlediff*100)/allcpu) cpuuservalue=((cpuuserdiff*100)/allcpu) cpusystemvalue=(($cpusystemdiff*100)/allcpu) Here, they are not using any time difference to calculate the percentage of objects.They are just using the current & previous value. So, in this way also can we do?...I think here, we cannt tell like, this is the percentage of cpuidlevalue over this period. Thanks Again, Malar On Thu, Jul 2, 2009 at 10:15 AM, Vincent Bernat <[email protected]> wrote: > OoO En cette fin de matinée radieuse du mercredi 01 juillet 2009, vers > 11:37, malar vizhi <[email protected]> disait : > > > Thanks for your quick response.So you mean to say, > > y -- result at T1 > > x -- result at T2 > > t -- T2 - T1 > > > Final result will be a percentage of that corresponding object. Am i > > right?..Lee. > > To get T1 and T2, you can query sysUpTime in the same GET request > instead of relying on the local clock. > -- > panic("mother..."); > 2.2.16 /usr/src/linux/drivers/block/cpqarray.c >
------------------------------------------------------------------------------
_______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
