Fedora 資料一覧
ハードウェア情報を出力する(lshw)
2008/5/7更新
対応バージョン: B.02.12.01
lshwを使用することによりハードウェアの詳細な情報が取得できる。
オプションなしでハードウェア一覧がリストアップされる。
% sudo lshw
foo.bar.com
description: Desktop Computer
product: Prime Series
vendor: ThirdWave Corporation
version: System Version
serial: System Serial Number
width: 32 bits
:
この他-htmlオプション、-xmlオプションでそれぞれHTML、XML形式で情報が取得できる。
また、-shortオプションでクラス名を出力し、-classオプションにてクラス毎の情報が取得できる。
% sudo lshw -short
H/W path Device Class Description
================================================
system Prime Series
/0 bus P5V800-MX
/0/0 memory 64KiB BIOS
/0/4 processor Intel(R) Celeron(R) CPU 2.53GHz
/0/4/5 memory 16KiB L1 cache
/0/4/6 memory 256KiB L2 cache
/0/4/7 memory L3 cache
/0/25 memory 512MiB System Memory
/0/25/0 memory 512MiB DIMM DDR Synchronous 400 MHz (2.5 ns)
/0/25/1 memory DIMM [empty]
/0/100 bridge CN700/VN800/P4M800CE/Pro Host Bridge
/0/100/1 bridge VT8237 PCI Bridge
/0/100/1/0 display UniChrome Pro IGP
/0/100/f storage VT8251 AHCI/SATA 4-Port Controller
/0/100/f.1 scsi0 storage VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE
/0/100/f.1/0 /dev/sda disk 82GB HDS728080PLAT20
/0/100/f.1/0/1 /dev/sda1 volume 125MiB EXT3 volume
/0/100/f.1/0/2 /dev/sda2 volume 2047MiB Linux swap volume
/0/100/f.1/0/3 /dev/sda3 volume 74GiB EXT3 volume
/0/100/f.1/1 /dev/cdrom disk DVDRAM GSA-H10N
/0/100/10 bus VT82xxxxx UHCI USB 1.1 Controller
/0/100/10/1 usb2 bus UHCI Host Controller
/0/100/10.1 bus VT82xxxxx UHCI USB 1.1 Controller
/0/100/10.1/1 usb3 bus UHCI Host Controller
/0/100/10.1/1/1 generic PS/2+USB Mouse
/0/100/10.1/1/2 generic USB Keyboard
:
% sudo lshw -class processor
*-cpu
description: CPU
product: Intel(R) Celeron(R) CPU 2.53GHz
vendor: Intel Corp.
physical id: 4
bus info: cpu@0
version: 15.4.9
serial: 0000-0F49-0000-0000-0000-0000
slot: LGA 775
size: 2533MHz
capacity: 2533MHz
width: 64 bits
clock: 133MHz
capabilities: boot fpu fpu_exception wp vme de pse tsc msr pae
mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr
sse sse2 ss ht tm pbe nx x86-64 constant_tsc up pebs bts sync_rdtsc
pni monitor ds_cpl tm2 cid cx16 xtpr lahf_lm
configuration: id=0