Linux でハードウェア情報を見るコマンドで、lshw というのがあることを初めて知った。手元の CentOS 5.1 ではインストールされていなかったので、さくっとインストールした。
$ sudo yum install lshw
あとは、普通に使うだけ。
$ sudo lshw
description: Computer width: 32 bits *-core
description: Motherboard
physical id: 0 *-memory
description: System memory
physical id: 0
size: 520MiB *-cpu
product: AMD Athlon(tm) 64 Processor 3500+
vendor: Advanced Micro Devices [AMD]
physical id: 1
bus info: cpu@0
version: 15.15.2
size: 18EHz
width: 64 bits
以下、略だが、なかなか便利。上の出力例は Xen の例です。
Tags: linux






