先通过lspci命令查找pcie对应设备编号,如下图中为01:00.0 再通过以下命令查找上一步编号对应设备带宽信息,如下图中为8GT/s lspci -n -s 01:00.0 -vvv | grep --color Width