> Wow.  I'm really just looking for a way to determine the number of
> cores per chip and the number of threads per core.
> 
> Right now I use kstat cpu_info and count the number of unique
> chip_id's and core_is's, and do the math.

As long as you have the information in cpu_info kstat, the psrinfo(1M) utility
will do just that for you when you invole it with "-vp" flag.

You can use existing /usr/sbin/psrinfo command from OpenSolaris as is on S10
updates.

- Alex Kolbasov

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to