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 and MJ> writes the values into a database. I read values like ssCpuRawSystem, MJ> ssCpuRawIdle and can calculate the percent usage. However, I am reading MJ> values from a Solaris machine with multiple CPU and it seems that all of MJ> the values seem to be based on the fact that there are multiple CPUs. MJ> That is, adding all of the 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