Hey hi, Back to you again :) I felt the idea you gave was correct (delta of raw idle/ delta raw* ) as I feel the second idea is wrong, as some cases this counter doesn't represent timeticks.
But I had bit doubt I am using suse linux 8 and suse linux 9( having ucd-snmp and netsnmp 5.1-80.3 respectively) In these OS I am getting values for raw user,nice,system and idle but not for wait,kernel and Inttrpt. In this case if I still apply the formula "delta raw Idle / sum( delta( raw* ))" will it still hold good. I also wanted to know what these raw counters signify (time ticks or what else ??? ) and why is it different in diff versions. Thanks a lot, Naga This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Wednesday, September 21, 2005 1:49 PM To: [EMAIL PROTECTED] Cc: net-snmp-coders@lists.sourceforge.net Subject: RE: Regarding ssCPURawIdle On Wed, 2005-09-21 at 10:41 +0530, Naganarasimha wrote: > In the Formaula " sum( delta( raw* )) " > > means > > sum > > (delta RawIdle+ delta RawUser +delta RawNice+ delta RawKernel+ delta > RawWait+ delta RawInterrupt+ delta RawSystem) Correct. (Though not all these objects will necessarily be valid on all systems) > I had seen one more way of doing it > As all these values are cpu ticks. And it is 100 ticks per second Hmmm.... That's *probably* true - but it's not guaranteed. (I'm not at all sure what would happen with multi-CPU systems, for example) The simpler formula you suggest will probably work in most cases. Suck it and See. The formula I gave is rather more complicated, but it's guaranteed to be valid. 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders