On Mon, 15 Nov 2004, Mohr James wrote:
Hi All!
Now comes the tricky part (at least as far as I can see). This is a
value of type Counter32. I am at a loss to figure out what that means in
this context. I run the snmpget once and get a value of 147623233. I run
it a few seconds later I get 147623475. That gives me a diffences of
242. Well, 242 what? Milliseconds that the system was idle during this
time?
Well, I ran it twice 60 seconds apart and got a difference of 4327.
Dividing this by 6000 (60 centi-seconds???), I got 0.72. The idle
percent of this system is around 72%. So, is this the value I just
calculated?
yes u r correct... for further info have a look at:
http://www.mail-archive.com/uug-list@uug.byu.edu/msg12887.html
&
http://www.net-snmp.org/FAQ.html#How_do_I_get_percentage_CPU_utilization_using_ssCpuRawIdle_
hope this helps,
Sundeep.
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
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