| 3. hwinfo – Hardware Informationhwinfo同样是一个使用非常广泛的硬件信息查询命令,类似于lshw,它同样可以详细或概要地报告多个部件的硬件信息,但不同的是,它有时可以给出比lshw更多的信息.
 
 $ hwinfo --shortcpu:
 Intel(R) Core(TM)2 Quad CPU    Q8400  @ 2.66GHz,2000 MHz
 Intel(R) Core(TM)2 Quad CPU    Q8400  @ 2.66GHz,2666 MHz
 Intel(R) Core(TM)2 Quad CPU    Q8400  @ 2.66GHz,2666 MHz
 keyboard:
 /dev/input/event2    AT Translated Set 2 keyboard
 mouse:
 /dev/input/mice      Microsoft Basic Optical Mouse v2.0
 graphics card:
 Intel 965G-1
 Intel 82G35 Express Integrated Graphics Controller
 sound:
 Intel 82801H (ICH8 Family) HD Audio Controller
 storage:
 Intel 82801H (ICH8 Family) 4 port SATA IDE Controller
 Intel 82801H (ICH8 Family) 2 port SATA IDE Controller
 JMicron JMB368 IDE controller
 network:
 eth0                 Intel 82566DC Gigabit Network Connection
 network interface:
 eth0                 Ethernet network interface
 lo                   Loopback network interface
 disk:
 /dev/sda             ST3500418AS
 partition:
 /dev/sda1            Partition
 /dev/sda2            Partition
 /dev/sda5            Partition
 /dev/sda6            Partition
 /dev/sda7            Partition
 /dev/sda8            Partition
 cdrom:
 /dev/sr0             SONY DVD RW DRU-190A
 usb controller:
 Intel 82801H (ICH8 Family) USB UHCI Controller #4
 Intel 82801H (ICH8 Family) USB UHCI Controller #5
 Intel 82801H (ICH8 Family) USB2 EHCI Controller #2
 Intel 82801H (ICH8 Family) USB UHCI Controller #1
 Intel 82801H (ICH8 Family) USB UHCI Controller #2
 Intel 82801H (ICH8 Family) USB UHCI Controller #3
 Intel 82801H (ICH8 Family) USB2 EHCI Controller #1
 
 4. lspci – 显示pci总线相关信息lscpi命令可以列出pci总线上信息,以及所有连接到pci总线上的设备信息,比如VGA适配器,显卡,网卡,usb端口,sata控制器,光线模块等等.
 
 $ lspci00:00.0 Host bridge: Intel Corporation 82G35 Express DRAM Controller (rev 03)
 00:02.0 VGA compatible controller: Intel Corporation 82G35 Express Integrated Graphics Controller (rev 03)
 00:02.1 Display controller: Intel Corporation 82G35 Express Integrated Graphics Controller (rev 03)
 00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network Connection (rev 02)
 00:1a.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
 00:1a.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
 00:1a.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
 00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
 00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)
 00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 02)
 00:1d.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
 00:1d.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
 00:1d.2 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
 00:1d.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2)
 00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller (rev 02)
 00:1f.2 IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA Controller [IDE mode] (rev 02)
 00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
 00:1f.5 IDE interface: Intel Corporation 82801HR/HO/HH (ICH8R/DO/DH) 2 port SATA Controller [IDE mode] (rev 02)
 03:00.0 IDE interface: JMicron Technology Corp. JMB368 IDE controller
 04:05.0 FireWire (IEEE 1394): LSI Corporation FW322/323 [TrueFire] 1394a Controller (rev 70)
 可以使用grep命令筛选出特定的设备信息.
 $ lspci -v | grep "VGA" -A 12 5. lsscsi – 列出scsi设备信息列出scsi/sata设备信息,比如硬盘驱动器,光盘驱动器.
 
 $ lsscsi[3:0:0:0]    disk    ATA      ST3500418AS      CC38  /dev/sda
 [4:0:0:0]    cd/dvd  SONY     DVD RW DRU-190A  1.63  /dev/sr0
 (编辑:南平站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |