How can I Get only the correct number of CPU's, the following output shows that my server has 8 CPU's but physically how many does it have? now I know it's not 8 of them???
grep CPU /proc/cpuinfo
model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
grep cpu /proc/cpuinfo
cpu family : 6
cpu MHz : 2333.400
cpu cores : 4
cpuid level : 10
cpu family : 6
cpu MHz : 2333.400
cpu cores : 4
cpuid level : 10
cpu family : 6
cpu MHz : 2333.400
cpu cores : 4
cpuid level : 10
cpu family : 6
cpu MHz : 2333.400
cpu cores : 4
cpuid level : 10
cpu family : 6
cpu MHz : 2333.400
cpu cores : 4
cpuid level : 10
cpu family : 6
cpu MHz : 2333.400
cpu cores : 4
cpuid level : 10
cpu family : 6
cpu MHz : 2333.400
cpu cores : 4
cpuid level : 10
cpu family : 6
cpu MHz : 2333.400
cpu cores : 4
cpuid level : 10
|