FreeBSD查看CPU/硬盘/内存等硬件

来自linux中国网wiki
跳到导航 跳到搜索


[email protected]:~ % cat /var/run/dmesg.boot |grep CPU
CPU: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz (2693.83-MHz K8-class CPU)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
cpu0: <ACPI CPU> on acpi0


sysctl hw.model 看cpuid

sysctl machdep.tsc_freq 看cpu频率

 

或者直接通过ports

cd /usr/ports/misc/cpuid

make install clean

然后

可以直接通过cpuid来查看

/usr/local/bin/cpuid

Tags: cpu , freebsd


https://blog.haohtml.com/archives/3256