freebsd查看CPU信息

Check CPU Speed in FreeBSD
Type the command at a shell prompt:

Sample output:

So I’ve Intel Xeon quad core processor running at 2.40GHz speed.

You need to use following commands in association with grep command.

FreeBSD CPUINFO using dmesg command

Type the following command

Or directly query /var/run/dmesg.boot file

Output:

CPU: Dual Core AMD Opteron(tm) Processor 170 (1999.08-MHz 686-class CPU)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
cpu0: on acpi0
acpi_throttle0: on cpu0
cpu1: on acpi0
acpi_throttle1: on cpu1
SMP: AP CPU #1 Launched!

You can also dump more information using sysctl command

 

You may also like...

发表评论

电子邮件地址不会被公开。 必填项已用*标注