Patches item #672580, was opened at 2003-01-22 08:30
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=434894&aid=672580&group_id=43021

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Claus Kalle (chkalle)
Assigned to: Nobody/Anonymous (nobody)
Summary: fix gmond for SUN ExxK domains, CPU index doesn't start at 0

Initial Comment:
Code in gmond/machine.c assumes for Solaris, that CPUs get numbered starting at 
0.

In an Enterprise 15K with multiple domains, this is no longer true.

So change code getting CPU speed to start at arbitrary CPU number (kstat), see 
attached patch.

----------------------------------------------------------------------

Comment By: Mark Denni (markdenni)
Date: 2003-03-04 14:54

Message:
Logged In: YES 
user_id=97568

Claus -

Do you think you could generalize your patch so it would also 
work for machines where there are gaps in the CPU indices?
We have some sparc machines which are quite strange:
One with CPU3 and none other.
Once with CPU1 and CPU2 but not CPU0.
One with CPU1 and none other.

I tried compiling with your patch, thinking it might solve the 
problem on at least one of the machines, but it didn't. 

Thank you very much for any help you can offer. (You can see 
more details of my problem in the support section - #618250).

- Mark

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=434894&aid=672580&group_id=43021

Reply via email to