lspci:显示所有PCI设备
lspci命令用来显示系统中的所有PCI总线设备或是连接到该总线上的所有设备。
lspci命令的参数选项及说明
-v 显示详细信息
-vv 显示更详细的信息
-s 显示指定总线的信息
[root@linuxprobe ~]# lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter
00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
00:04.0 System peripheral: InnoTek Systemberatung GmbH VirtualBox Guest Service
00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC‘97 Audio Controller (rev 01)
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:08.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
[root@linuxprobe ~]# lspci -s 00:04.0
00:04.0 System peripheral: InnoTek Systemberatung GmbH VirtualBox Guest Service
[root@linuxprobe ~]# lspci -s 00:08.0
00:08.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
[root@linuxprobe ~]# lspci -s 00:04.0 -v
00:04.0 System peripheral: InnoTek Systemberatung GmbH VirtualBox Guest Service
Flags: fast devsel, IRQ 11
I/O ports at d020 [size=32]
Memory at f0400000 (32-bit, non-prefetchable) [size=4M]
Memory at f0800000 (32-bit, prefetchable) [size=16K]
ipcs:显示进程间通信设施的状态
用于显示Linux中进程间通信设施的状态,显示的信息包括消息列表、共享内存和信号量等信息。
ipcs命令的参数选项及说明
参数选项 解释说明
-a 显示全部可显示的信息
-q 显示活动的消息队列信息
-m 显示活动的共享内存信息
-s 显示活动的信号量信息