Skip to content
buytenhPublic

About

Tool to turn lspci output into a graphviz graph representing a machine's PCI(e) switches and devices

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

pcigraph

This tool turns lspci output into a graphviz graph representing a machine's PCI(e) switches and devices.

It was originally written to help debug performance problems on large GPU servers.

Usage

Make sure you have graphviz installed, and then run:

(dmidecode; lspci -nnvv) | cargo run > pci.dot
dot -Tpng pci.dot > pci.png

Including dmidecode output is optional. If it is included, pcigraph will annotate the produced graph with any PCI slot names found in System Slot Information (DMI type 9) records in the dmidecode output.

Sample output

About

Tool to turn lspci output into a graphviz graph representing a machine's PCI(e) switches and devices

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages