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 ...
- 08-28-2006 #1Just Joined!
- Join Date
- Aug 2006
- Posts
- 2
sysconf(_SC_NPROCESSORS_ONLN) not working in EM64T RHEL/SuSE
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 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.



