Difference between revisions of "Lspci"

From wikieduonline
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
+
{{lowercase}}
 
lspci command list all [[PCI]] devices
 
lspci command list all [[PCI]] devices
  
Line 18: Line 18:
 
  00:05.0 Network and computing encryption device: Red Hat, Inc. Virtio RNG
 
  00:05.0 Network and computing encryption device: Red Hat, Inc. Virtio RNG
 
  00:1f.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
 
  00:1f.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
 +
 +
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 82371SB PIIX3 IDE [Natoma/Triton II]
 +
00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] (rev 01)
 +
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
 +
00:02.0 VGA compatible controller: Red Hat, Inc. QXL paravirtual graphic card (rev 04)
 +
00:03.0 Ethernet controller: Red Hat, Inc. [[Virtio network device]]
 +
00:04.0 SCSI storage controller: Red Hat, Inc. [[Virtio SCSI]]
 +
00:05.0 SCSI storage controller: Red Hat, Inc. [[Virtio block device]]
 +
00:06.0 Unclassified device [00ff]: Red Hat, Inc. [[Virtio memory balloon]]
 +
 +
lspci
 +
5c:00.0 Serial Attached SCSI controller: Adaptec Smart Storage PQI 12G [[SAS]]/PCIe 3 (rev 01)
 +
 +
 +
lspci -v -nn -s 00:1f.6
  
 
== Activities ==
 
== Activities ==
Line 24: Line 42:
 
# List your [[Fibre Channel]] devices ([[HBA]]s): <code>lspci | grep "Fibre Channel"</code> or <code>[[systool]] -c fc_host -v</code>
 
# List your [[Fibre Channel]] devices ([[HBA]]s): <code>lspci | grep "Fibre Channel"</code> or <code>[[systool]] -c fc_host -v</code>
  
 +
 +
== Related terms ==
 +
* <code>[[lshw]]</code>
  
 
== See also ==
 
== See also ==
Line 29: Line 50:
 
{{Linux block devices}}
 
{{Linux block devices}}
 
* {{SATA}}
 
* {{SATA}}
* <code>[[lsusb]]</code>
+
* {{lsusb}}
 +
* {{lspci}}
 
* {{PCI}}
 
* {{PCI}}
  
 
[[Category:Linux]]
 
[[Category:Linux]]

Latest revision as of 17:50, 10 December 2023

lspci command list all PCI devices

  • lspci
  • lspci -v
lspci
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port (rev f1)
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a808
00:03.0 Ethernet controller: Red Hat, Inc. Virtio network device
lspci
00:00.0 Host bridge: Network Appliance Corporation Device 1275
00:01.0 SATA controller: Intel Corporation 82801HR/HO/HH (ICH8R/DO/DH) 6 port SATA Controller [AHCI mode]
00:01.1 SATA controller: Intel Corporation 82801HR/HO/HH (ICH8R/DO/DH) 6 port SATA Controller [AHCI mode]
00:02.0 Ethernet controller: Red Hat, Inc. Virtio network device
00:05.0 Network and computing encryption device: Red Hat, Inc. Virtio RNG
00:1f.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
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 82371SB PIIX3 IDE [Natoma/Triton II]
00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] (rev 01)
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:02.0 VGA compatible controller: Red Hat, Inc. QXL paravirtual graphic card (rev 04)
00:03.0 Ethernet controller: Red Hat, Inc. Virtio network device
00:04.0 SCSI storage controller: Red Hat, Inc. Virtio SCSI
00:05.0 SCSI storage controller: Red Hat, Inc. Virtio block device
00:06.0 Unclassified device [00ff]: Red Hat, Inc. Virtio memory balloon
lspci
5c:00.0 Serial Attached SCSI controller: Adaptec Smart Storage PQI 12G SAS/PCIe 3 (rev 01)


lspci -v -nn -s 00:1f.6

Activities[edit]

  1. Execute lspci command to list your PCI devices
    1. Identify your SATA controllers[1]
  2. List your Fibre Channel devices (HBAs): lspci | grep "Fibre Channel" or systool -c fc_host -v


Related terms[edit]

See also[edit]

  • https://superuser.com/questions/tagged/sata?tab=Votes
  • Advertising: