At Linux I use
#cat /proc/cpuinfo
at FreeBSD
ms3# sysctl -a | egrep -i 'hw.machine|hw.model|hw.ncpu|hw.physmem'
hw.machine: amd64
hw.model: Intel(R) Xeon(R) CPU E5520 @ 2.27GHz
hw.ncpu: 16
hw.machine_arch: amd64
hw.machine: amd64
hw.model: Intel(R) Xeon(R) CPU E5520 @ 2.27GHz
hw.ncpu: 16
hw.machine_arch: amd64
Or Use sysyctl like this.
sysctl hw.machine
sysctl hw.model
sysctl hw.ncpu
sysctl hw.physmem
sysctl hw.model
sysctl hw.ncpu
sysctl hw.physmem
0 Comments.