Skip to content

buytenh/pcigraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages