How do i list device pci buses and device attached to them?



  • Man page for lspci.

    Note: The output will vary between physical and virtual machines.

    $ 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.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 01)
    00:02.0 VGA compatible controller: Cirrus Logic GD 5446
    00:03.0 Unassigned class [ff80]: XenSource, Inc. Xen Platform Device (rev 01)
    

    What do the numbers mean?
    Taking line one, The numbers are in the format of 00 = Bus number, 00 = device number, 0 = function number

    Verbose information can be displayed with.

    $ lspci -vv 
    

Log in to reply
 

© Lightnetics 2024