We're managing 2 production server. One is RHEL4 and other one is CentOS5.
In order to find the load average, I need to determine how many cores the server has got. I used the command $ grep cores /proc/cpuinfo
to find the no. of cores available.
Output from RHEL4:
cpu cores : 2
cpu cores : 2
cpu cores : 2
cpu cores : 2
Output from CentOS5:
cpu cores : 1
cpu cores : 1
cpu cores : 1
cpu cores : 1
My question is, from the output of RHEL4 above, I could see cpu cores : 2
with 4 entries. So, is it 8 cores or 4 cores? What does 2 mean here?
In case of CentOS5, it is evident that it is 4 cores.
I also referred this link: Howto: Linux detect or find out a dual-core cpu