On Tue, 2005-09-20 at 20:40 +0530, Naganarasimha wrote: > Can some one please inform how to get the percentage of > CPU utilized by using this OID.
Take a reading of the various ssCPURaw* objects. Wait a bit. Take another reading of these object. Calculate the differences. The CPU idle percentage over that period is delta(rawIdle) -------------- * 100 sum( delta( raw* )) > And why is ssCPUIdle deprecated? Because it was inadequately specified when the MIB was first designed. (see below) > And is this value, average over past few minutes? It depends on the architecture. On some systems, it's the average over the past minute. On other systems, it's the average since the agent started. That's why this object has been deprecated - it's fundamentally broken! It's also somewhat inflexible. Using the raw values gives you control over the period that you're interested in. (Percentage usage over the last minute, the last hour, the last week, whatever) Dave ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders