NotePublic/Software/Applications/Lspci/Lspci_命令常用参数.md

50 lines
544 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Lspci 命令常用参数
显示 BDF、Device ID 和 Vendor ID
```bash
lspci -n
```
显示与之关联的 Kernel driver
```bash
lspci -k
```
现实详细信息:
```bash
lspci -v
```
Dump 标准配置空间:
```bash
lspci -x
```
Dump 全部配置空间:
```bash
lspci -xxx
```
Dump 4K 扩展配置空间:
```bash
lspci -xxxx
```
显示总线树形图:
```bash
lspci -t
```
指明一个 PCI 设备,来查看其配置空间的内容:
```bash
lspci -s <总线号>:<设备号>.<功能号> -xxx
```