Results 1 to 2 of 2
i am calling sysconf(_SC_NPROCESSORS_ONLN) from my apps code to get number of logical CPUs. this code works with x86, but NOT with EM64T versions. any known issues? How do i ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-28-2006 #1
- Join Date
- Aug 2006
sysconf(_SC_NPROCESSORS_ONLN) not working in EM64T RHEL/SuSE
How do i find number of logical CPUs in EM64T (x64) versions of RHEL & SuSE?
- 08-30-2006 #2
I think you can just count the number of "processor" lines in /proc/cpuinfo.