Posts

Showing posts from July, 2017

[PCIe] lspci command and the PCIe devices in my server

Image
The following content is about my PCIe devices/drivers and the lspci command results.
$ cd /sys/bus/pci_express/drivers $ ls -al drwxr-xr-x 2 root root 0  7月  6 15:33 aer/ drwxr-xr-x 2 root root 0  7月  6 15:33 pciehp/ drwxr-xr-x 2 root root 0  7月  6 15:33 pcie_pme/

$ cd  pcie_pme $ ls -al


$ lspci | grep 00:1c


Or $ cd /sys/bus/pci_express/devices $ ls -al


$ cd 0000:00:1c.0:pcie01 $ ls -al total 0 drwxr-xr-x 3 root root    0  7月  5 08:56 ./ drwxr-xr-x 6 root root    0  7月  5 08:56 ../ lrwxrwxrwx 1 root root    0  7月  6 15:51 driver -> ../../../../bus/pci_express/drivers/pcie_pme/ drwxr-xr-x 2 root root    0  7月  6 15:51 power/ lrwxrwxrwx 1 root root    0  7月  6 15:51 subsystem -> ../../../../bus/pci_express/