December 12, 2016

CPU info in FreeBSD

There are various methods to get CPU information on FreeBSD

sysctl -a | grep -i cpu | less

sysctl -a | egrep -i 'hw.machine|hw.ncpu|hw.model'

“sysctl” retrieves the kernel state.

You can also use dmesg to get the information:

dmesg | grep -i cpu

grep -i cpu /var/run/dmesg.boot

© Arnold Greyling 2023