Skip to content


Menampilkan Informasi CPU

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
Share

Posted in FreeBSD.

Tagged with , .


Problem Make Perl 5.12

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

Share

Posted in FreeBSD.

Tagged with , , , .


Problem Autoconf dengan PHP

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.

Share

Posted in FreeBSD.

Tagged with , , , .


My We Rule Kingdom

Anyone play we rule?

Share

Posted in A - Z.

Tagged with , , .


iPad Wallpaper: Wintery Night

Wintery Night

Share

Posted in iPad Wallpaper.

Tagged with , , , .


iPad Wallpaper: Unido

Unido

Share

Posted in iPad Wallpaper.

Tagged with , , .


iPad Wallpaper: Teja

Teja

Share

Posted in iPad Wallpaper.

Tagged with , , .


iPad Wallpaper: Teja Red

Teja Red

Share

Posted in iPad Wallpaper.

Tagged with , , , .


iPad Wallpaper: Teja Pine

Teja Pine

Share

Posted in iPad Wallpaper.

Tagged with , , , .


iPad Wallpaper: Teja Harvest

Teja Harvest

Share

Posted in iPad Wallpaper.

Tagged with , , , .


The On Demand Global Workforce - oDesk