lspci - サーバー管理でよく使うコマンド
現在稼動しているOS名、OSのバージョンやホスト名、チップ(CPU)の種類を表示する
■よく使う形(例)
※このコンピュータで稼働中のOSの種類やチップの種類を表示する。
# lspci
0000:00:00.0 Host bridge: Intel Corp.: Unknown device 2778
0000:00:01.0 PCI bridge: Intel Corp.: Unknown device 2779
0000:00:1c.0 PCI bridge: Intel Corp.: Unknown device 27d0 (rev 01)
0000:00:1c.4 PCI bridge: Intel Corp.: Unknown device 27e0 (rev 01)
0000:00:1c.5 PCI bridge: Intel Corp.: Unknown device 27e2 (rev 01)
0000:00:1d.0 USB Controller: Intel Corp.: Unknown device 27c8 (rev 01)
0000:00:1d.1 USB Controller: Intel Corp.: Unknown device 27c9 (rev 01)
0000:00:1d.2 USB Controller: Intel Corp.: Unknown device 27ca (rev 01)
0000:00:1d.7 USB Controller: Intel Corp.: Unknown device 27cc (rev 01)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev e1)
0000:00:1f.0 ISA bridge: Intel Corp.: Unknown device 27b8 (rev 01)
0000:00:1f.1 IDE interface: Intel Corp.: Unknown device 27df (rev 01)
0000:00:1f.2 IDE interface: Intel Corp.: Unknown device 27c0 (rev 01)
0000:00:1f.3 SMBus: Intel Corp.: Unknown device 27da (rev 01)
0000:02:00.0 PCI bridge: Intel Corp. PCI Bridge Hub (rev 09)
0000:04:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5721 Gigabit Ethernet PCI Express (rev 11)
0000:05:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5721 Gigabit Ethernet PCI Express (rev 11)
0000:06:05.0 VGA compatible controller: XGI - Xabre Graphics Inc: Unknown device 0020
PCIバスとPCIバスにつながっているすべてのディバイスの情報を表示します。
■主なオプション
オプション | 機能説明 |
---|---|
-v | オプション非選択時よりも各ディバイスの詳細な情報を表示する。 |
-vv | PCIディバイスが渡す情報をさらに詳細に表示する。 |