対象とするUbuntuのバージョン
- 9.10 Karmic Koala
- 10.04 Lucid Lynx
- 12.10 Quantal Quetzal
フォーラムで質問するとき1、バグ報告2をするとき、ハードウェアサポート情報に書き込むときの参考にしてください。
コマンドライン
端末で、以下のコマンドを実行してください。
出てこない場合は、"| grep" の前の部分だけ実行してください。
端末の起動の仕方、操作方法については コマンドを端末で実行するには を参考にしてください。
lshalはServer版ではデフォルトでインストールされていません。
Ubuntu のバージョン
$ lsb_release -r
表示例
Release: 9.10
メーカー
$ lshal | grep system.hardware.vendor
表示例
system.hardware.vendor = 'FUJITSU' (string)
形式名
$ lshal | grep system.hardware.product
表示例
system.hardware.product = 'FMV-BIBLO NE2/45,NE3/45,45LK' (string)
$ sudo dmidecode -s system-product-name
表示例
FMV-BIBLO NE2/45,NE3/45,45LK
CPU
CPU 名
$ cat /proc/cpuinfo | grep "model name"
表示例
model name : AMD-K6(tm) 3D processor
$ sudo lshw -short -class processor
表示例
H/W path Device Class Description
======================================================
/0/4 processor Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz
/0/4/0.1 processor Logical CPU
/0/4/0.2 processor Logical CPU
/0/1 processor
/0/1/0.1 processor Logical CPU
/0/1/0.2 processor Logical CPU
CPU の機能フラグ
12.10 Quantal Quetzal より、PAEをサポートしないIntel(互換)x86 CPUでは動作しなくなりました。
pae の有無を確認して下さい。
$ cat /proc/cpuinfo | grep flags
表示例
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a 3dnowprefetch osvw ibs skinit wdt nodeid_msr hw_pstate npt lbrv svm_lock nrip_save
Chipset
$ sudo lshw | grep -A 10 "Host bridge"
表示例
description: Host bridge
product: M1541
vendor: ALi Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 04
width: 32 bits
clock: 33MHz
configuration: latency=64
*-pci
description: PCI bridge
メモリ容量
$ cat /proc/meminfo | grep MemTotal
表示例
MemTotal: 186044 kB
$ sudo lshw -short | grep "System Memory"
表示例
/0/1b memory 192MiB System Memory
グラフィックボード
$ sudo lshw -short -class display
表示例
H/W path Device Class Description
======================================================
/0/100/2 display 82G965 Integrated Graphics Controller
$ sudo lshw -class display
表示例
*-display
description: VGA compatible controller
product: 82G965 Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 0
width: 64 bits
clock: 33MHz
capabilities: msi pm bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:25 memory:c0100000-c01fffff memory:d0000000-dfffffff(prefetchable) ioport:1c40(size=8)
ネットワーク
$ lspci | grep Ethernet
表示例
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8180L 802.11b MAC (rev 20)
06:00.0 Ethernet controller: Abocom Systems Inc ADMtek Centaur-C rev 17 [D-Link DFE-680TX] CardBus Fast Ethernet Adapter (rev 11)
$ sudo lshw -short -class network
表示例
H/W path Device Class Description
======================================================
/0/100/19 eth0 network 82566DC Gigabit Network Connection
/1 vboxnet0 network Ethernet interface
$ lsusb
表示例
Bus 001 Device 011: ID 0411:00da MelCo., Inc. WLI-U2-KG54L
Bus 001 Device 006: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive
Bus 001 Device 005: ID 0409:0058 NEC Corp. HighSpeed Hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
一覧の簡易表示
$ sudo lshw -short
表示例
H/W path Device Class Description ====================================================== system FMV-BIBLO NE2/45,NE3/45,45LK /0 bus KEAL /0/1 memory 80KiB BIOS /0/4 processor CPU [empty] /0/4/8 memory 64KiB L1 cache /0/4/9 memory 512KiB L2 cache /0/1b memory 192MiB System Memory /0/1b/0 memory 64MiB Row of chips SDRAM Synchronous 100 MHz (10.0 ns) /0/1b/1 memory 128MiB DIMM SDRAM Synchronous 100 MHz (10.0 ns) /0/2 processor AMD-K6(tm) 3D processor /0/2/0 memory 64KiB L1 cache /0/100 bridge M1541 /0/100/1 bridge M1541 PCI to AGP Controller /0/100/2 bus USB 1.1 Controller /0/100/4 multimedia M5451 PCI AC-Link Controller Audio Device /0/100/6 bridge M7101 Power Management Controller [PMU] /0/100/7 bridge M1533/M1535/M1543 PCI to ISA Bridge [Aladdin IV/V/V+] /0/100/c bridge PCI1420 PC card Cardbus Controller /0/100/c/0 network Realtek /0/100/c.1 bridge PCI1420 PC card Cardbus Controller /0/100/c.1/0 network V1.0 /0/100/e display Cyber 9525 /0/100/f scsi0 storage M5229 IDE /0/100/f/0 /dev/sda disk 40GB FUJITSU MHV2040A /0/100/f/0/1 /dev/sda1 volume 32GiB Windows NTFS volume /0/100/f/0/2 /dev/sda2 volume 4996MiB Extended partition /0/100/f/0/2/5 /dev/sda5 volume 4996MiB W95 FAT32 partition /0/100/f/0/4 /dev/sda4 volume 196MiB Linux swap volume /0/100/f/1 /dev/cdrom disk CD-ROM XM-7002B /0/100/12 communication HSF 56k Data/Fax/Voice/Spkp (w/Handset) Modem /0/3 wmaster1 network RTL8180L 802.11b MAC /0/0 eth0 network ADMtek Centaur-C rev 17 [D-Link DFE-680TX] CardBus Fast Ethernet Ada /0/5 scsi2 storage /0/5/0.0.0 /dev/sdb disk 2051MB SCSI Disk /0/5/0.0.0/1 /dev/sdb1 volume 949MiB Windows FAT volume /0/5/0.0.0/2 /dev/sdb2 volume 502MiB Linux filesystem partition /0/5/0.0.0/3 /dev/sdb3 volume 502MiB Linux swap volume /1 power CP021002-XX /2 wlan1 network Wireless interface
GUI
lshw-gtk
インストール
起動
GNOME のメニューの システム ▷ 設定 ▷ Hardware Lister から起動できますが、gksu lshw-gtk として起動すると警告が出ません。一部 root 権限でないと表示できません。
調べ方
- メーカー
- Multi-system の vendor の欄 (root 権限が必要)
- 形式名
- Multi-system の product の欄 (root 権限が必要)
- CPU
- Multi-system(Computer) ▷ Motherboard ▷ CPU の product の欄
- Chipset
- Multi-system(Computer) ▷ Motherboard ▷ Host bridge の product の欄
- メモリ容量
- Multi-system(Computer) ▷ Motherboard ▷ System Memory の size の欄
- グラフィックボード
- Multi-system(Computer) ▷ Motherboard ▷ Host bridge ▷ VGA *** の product の欄
ご意見などに関して
ご意見などに関しては、ここに書き込むかUbuntu日本語フォーラム / Wiki に "ハードウェア情報を調べるには" を追加しましたに書き込んでいただけるとありがたいです。
- システムテストツール(checkbox-gtk)で作成されるレポート、パッケージのインストールが必要ですが、gnome-device-manager、sysindo、hwinfoでも情報取得が可能です。
外部リンク
Ubuntu Documentation - System Information Commands
Ubuntu Wiki - HardwareIdentification
出力が長いときは[code]と[/code]の間に貼り付けると見やすいです (1)
詳しくは[https://wiki.ubuntulinux.jp/BugReport バグ報告の方法]をご覧ください (2)