>> -----Ursprüngliche Nachricht----- >> Von: frank [mailto:[EMAIL PROTECTED] >> Gesendet: Dienstag, 26. April 2005 23:59 >> An: Mohr James >> Cc: net-snmp-users@lists.sourceforge.net >> Betreff: Re: Calculationg CPU usage using ssCpuRawIdle <SNIP>
>> Tho since then, I've abandoned that method. Instead I use a >> small perl >> script called by SNMP's "exec" handler. The script runs vmstat for 2 >> cycles and reaps the percentages listed (from the second >> line) without any >> extra math being done. <SNIP> I am curious about the mechanics of how you actually get the data. Do you do the walk once, reading it into an array then parse the array? Or do you do the walk twice, calculating the offset into the table the first time and the do the walk again to get the data? When is the command actually run? It seems to me when the walk reaches UCD-SNMP-MIB::extOutput.1, or so it seems. Thanks for the help! Regards, Jim Mohr ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_ids93&alloc_id281&op=click _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users