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
Posted in FreeBSD.
Tagged with cpu, FreeBSD.
By devilian
– November 6, 2010
Saat mengetikkan make di /usr/ports/lang/perl5.12/, bila menemukan error message seperti ini:
License not correctly defined: multiple licenses in LICENSE, but LICENSE_COMB is set to single (or undefined)
Solusinya adalah menambahkan baris berikut pada /etc/make.conf.
Buat file tersebut bila belum ada.
LICENSE_COMB=multi
Problem selesai.
@updated 06/11/2010
Konfigurasi diatas menyebabkan problem saat compile Libtool-2.2
Antisipasinya adalah memberikan remark (comment) pada konfigurasi yang ditambahkan diatas sebelum melakukan compile
Posted in FreeBSD.
Tagged with FreeBSD, libtool, perl, problem.
By devilian
– November 5, 2010
Versi FreeBSD 8.1-RELEASE
Versi Autoconf 2.68
Versi PHP 5.3.3_2
Problem saat penambahan extension PHP:
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable is set correctly and then rerun this script.
server# export PHP_AUTOCONF="/usr/local/bin/autoconf"
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOHEADER environment variable is set correctly and then rerun this script.
server# export PHP_AUTOHEADER="/usr/local/bin/autoheader"
Jalankan 2 perintah diatas saat mendapatkan masalah tersebut.
Posted in FreeBSD.
Tagged with autoconf, FreeBSD, php, problem.
By devilian
– October 28, 2010
Anyone play we rule?

Posted in A - Z.
Tagged with game, ipad, we rule.
By devilian
– September 4, 2010
Wintery Night

Posted in iPad Wallpaper.
Tagged with ipad, night, wallpaper, wintery.
By devilian
– September 4, 2010
Unido

Posted in iPad Wallpaper.
Tagged with ipad, unido, wallpaper.
By devilian
– September 4, 2010
Teja

Posted in iPad Wallpaper.
Tagged with ipad, teja, wallpaper.
By devilian
– September 4, 2010
Teja Red

Posted in iPad Wallpaper.
Tagged with ipad, red, teja, wallpaper.
By devilian
– September 4, 2010
Teja Pine

Posted in iPad Wallpaper.
Tagged with ipad, pine, teja, wallpaper.
By devilian
– September 4, 2010
Teja Harvest

Posted in iPad Wallpaper.
Tagged with harvest, ipad, teja, wallpaper.
By devilian
– September 4, 2010
Komentar