Cara Mengetahui Informasi Hardware di Linux
• 2 • 293
Anda bisa menggunakan tool bernama lshw
untuk melihat informasi detail mengenai piranti keras di komputer Linux anda. lshw
akan menampilkan detail mengenai memory, versi firmware, konfigurasi main board, versi dan kecepatan CPU, konfigurasi cache, kecepatan bus dan lain sebagainya.
Aplikasi ini bisa dijalankan pada sistem x86 yang mendukung DMI dan IA-64 (Intel 64 bit) serta beberapa mesin PowerPC.
lshw
saat ini mendukung DMI (x86 dan IA-64), OpenFirmware device tree (PowerPC), PCI/AGP, CPUID (x86), IDE / ATA / ATAPI, PCMCIA, SCISI dan USB
Jika anda menggunakan CentOS. Aplikasi lshw
terdapat didalam repository EPEL. Anda bisa melakukan instalasi dengan menggunakan perintah :
[root@kurungsiku ~]# lshw -bash: lshw: command not found [root@kurungsiku ~]# yum whatprovides lshw lshw-B.02.12.01-1.el5.i386 : Hardware lister Repo : epel Matched from: [root@kurungsiku ~]# yum install lshw Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package lshw.i386 0:B.02.12.01-1.el5 set to be updated --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================= Installing: lshw i386 B.02.12.01-1.el5 epel 1.2 M Transaction Summary ============================================================================================================================================================= Install 1 Package(s) Upgrade 0 Package(s) Total download size: 1.2 M Is this ok [y/N]: y Downloading Packages: lshw-B.02.12.01-1.el5.i386.rpm | 1.2 MB 00:06 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : lshw 1/1 Installed: lshw.i386 0:B.02.12.01-1.el5 Complete! [root@kurungsiku ~]#
untuk menggunakan lshw, cukup ketikkan :
# lshw storage.intranet.kurungsiku.com description: Desktop Computer product: System Product Name vendor: System manufacturer version: System Version serial: System Serial Number width: 32 bits capabilities: smbios-2.5 dmi-2.5 smp-1.4 smp configuration: boot=normal chassis=desktop cpus=4 uuid=60AE5FAB-4C5A-DE11-9173-002618411C14 *-core description: Motherboard product: P5KPL-SE vendor: ASUSTeK Computer INC. physical id: 0 version: x.0x serial: MS1C97B04301519 slot: To Be Filled By O.E.M. *-firmware description: BIOS vendor: American Megatrends Inc. physical id: 0 version: 0505 (05/07/2009) size: 64KiB capacity: 960KiB ...