Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 464 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 464 Bytes

Perl version of zevv/lsofgraph

A small utility to convert Unix lsof output to a graph showing FIFO and UNIX interprocess communication.

Generate graph:

sudo lsof -n -F | perl ./lsofgraph.pl | dot -Tjpg > /tmp/a.jpg

or add unflatten to the chain for a better layout:

sudo lsof -n -F | perl ./lsofgraph.pl | unflatten -l 1 -c 6 | dot -T jpg > /tmp/a.jpg

example output