I tried cat /proc/cpuinfo but there is no "cpu cores" it works on LINUX though cat /proc/cpuinfo | grep "cpu cores"
Help me get a command for "cpu cores" in LINUX IA64
|
I tried Help me get a command for "cpu cores" in LINUX IA64 |
|||
|
Looks like what I got too lazy and quit reading before I figured out how to determine number of cores, sockets, cores per socket, threads per core and all that good stuff but if you read the code at that link you can figure all that out. |
|||
|
|
|
intel has some sample code on their website (the tarball is at the top of the page). Download, and compile it, and it should enumerate your cpus. I don't have any itanium systems, so I couldn't test it, but I've used this code when I had questions about systems. |
|||||
|
|
Do you have dmidecode installed? This issue just came up for me, and I needed nearly the same information you're asking for, and one of my coworkers suggested
That would indicate that there are 2 processors, with 4 cores each. The full information available for a processor looks like:
So there's a ton of information you can get out of dmidecode. |
|||||
|
|
If you have the POSIX-compliant
|
|||||
|
cpuinfothen you're probably not getting it. – Ignacio Vazquez-Abrams Oct 28 '11 at 5:02ls /sys/devices/system/cpu/orls /sys/class/cpuid/orls /proc/acpi/processor/or anything else you can find withfind /sys /proc -iname cpu*? Is the number of cores all that you want? – rozcietrzewiacz Oct 28 '11 at 12:26