On this page
How to Check the Number of Active CPU Cores on Solaris
Introduction
On certain machines (especially HP), it’s very practical for licensing issues to be able to limit the number of cores. Afterwards, it’s important to verify that the state is what you expect.
Usage
To get the list of active cores:
> psrinfo -pv
The physical processor has 1 virtual processor (0) x86 (chipid 0x0 GenuineIntel family 6 model 44 step 2 clock 2800 MHz)
Intel(r) Xeon(r) CPU X5660 @ 2.80GHz
The physical processor has 1 virtual processor (1) x86 (chipid 0x1 GenuineIntel family 6 model 44 step 2 clock 2800 MHz)
Intel(r) Xeon(r) CPU X5660 @ 2.80GHz
Here we can see that I only have one virtual CPU per processor (so 2 total).
Resources
Last updated 06 Feb 2012, 10:10 +0200.