Skip to content

tehmoth/lsofgraph

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • Perl 100.0%