Terkadang dalam melakukan konfigurasi server kita perlu mengetahui informasi detil CPU yang digunakan pada mesin sehingga konfigurasi dapat berjalan maksimal.
Ada beberapa cara untuk menampilkan informasi CPU, yang pertama:
server# sysctl -a | egrep -i 'hw.machine|hw.model|hw.ncpu'
output
hw.machine: amd64
hw.model: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz
hw.ncpu: 4
hw.machine_arch: amd64
Mengambil informasi CPUINFO dari dmesg:
server# dmesg | grep -i cpu
atau
server# grep -i cpu /var/run/dmesg.boot
output
CPU: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz (2394.00-MHz K8-class CPU)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 2
cpu2 (AP): APIC ID: 4
cpu3 (AP): APIC ID: 6
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 13
p4tcc0: <CPU Frequency Thermal Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 13
p4tcc1: <CPU Frequency Thermal Control> on cpu1
est2: <Enhanced SpeedStep Frequency Control> on cpu2
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 13
p4tcc2: <CPU Frequency Thermal Control> on cpu2
est3: <Enhanced SpeedStep Frequency Control> on cpu3
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 13
p4tcc3: <CPU Frequency Thermal Control> on cpu3
SMP: AP CPU #2 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
Bisa juga dengan:
server# sysctl -a | grep -i cpu | less


0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.