It all depends on what is being reported by ssCpuRawSystem and friends. If this is a total of physical CPUs then one obviously needs the number of physical CPUs. If the sum is from logical CPUs then the calculcation are probably going to be a lot harder.
Regards, Jim Mohr > -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im > Auftrag von John Hardin > Gesendet: Mittwoch, 24. November 2004 02:40 > An: [EMAIL PROTECTED] > Betreff: Re: UCD-SNMP-MIB, performance and number of CPUs > > > In these days of hyperthreading you have to be careful > whether you're talking about logical or physical CPUs. > I assume you'd want # of logical CPUs and statistics > based on these, rather then physical CPUs. > > Murali Bestha wrote: > > >Hi James, > > > >Looks like there is no OID for fetching the number of CPUs of the > >system. In our case what we did is, we pass the the number > of CPUs to > >the program and calculate the average. > > > >If anybody know the better solution please lets know. > > > >Thanks and Regards > >Murali > > > > > >On Mon, 22 Nov 2004 14:37:27 -0500, Users Robert Story > ><[EMAIL PROTECTED]> wrote: > > > > > >>On Mon, 22 Nov 2004 14:06:53 +0100 Mohr wrote: > >>MJ> I am trying to write and application that reads > performance data > >>MJ> and writes the values into a database. I read values like > >>MJ> ssCpuRawSystem, ssCpuRawIdle and can calculate the > percent usage. > >>MJ> However, I am reading values from a Solaris machine > with multiple > >>MJ> CPU and it seems that all of the values seem to be based on the > >>MJ> fact that there are multiple CPUs. That is, adding all of the > >>MJ> values gives me more than 100%. > >> > >>I don't think the agent does anything to detect/take into account > >>multiple CPUs. Patches welcomed! > >> > >>-- > >>Robert Story; NET-SNMP Junkie > >>Support: <http://www.net-snmp.org/> > <irc://irc.freenode.net/#net-snmp> > >>Archive: > >><http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> > >> > >>You are lost in a twisty maze of little standards, all different. > >> > >> > >> > >> > >>------------------------------------------------------- > >>SF email is sponsored by - The IT Product Guide > >>Read honest & candid reviews on hundreds of IT Products from real > >>users. Discover which products truly live up to the hype. Start > >>reading now. http://productguide.itmanagersjournal.com/ > >>_______________________________________________ > >>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 > >> > >> > >> > > > > > >------------------------------------------------------- > >SF email is sponsored by - The IT Product Guide > >Read honest & candid reviews on hundreds of IT Products from real > >users. Discover which products truly live up to the hype. > Start reading > >now. http://productguide.itmanagersjournal.com/ > >_______________________________________________ > >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 > > > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from > real users. Discover which products truly live up to the > hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > 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 > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ 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