$ egrep "processor|physical id|core id" /proc/cpuinfo
processor : 0
physical id : 0
core id : 0
processor : 1
physical id : 0
core id : 0
The output show is for a single socket dual core machine. Each core has a different processor ID, but the same physical ID (The physical ID indicating they are in fact on the same socket. A virtual machine will usually only show the processor line and not the physical or core id's.
No comments:
Post a Comment