A small utility to convert Unix lsof output to a graph showing FIFO and UNIX interprocess communication.
Generate graph:
sudo lsof -n -F | ./lsofgraph | dot -Tjpg > /tmp/a.jpgor add unflatten to the chain for a better layout:
sudo lsof -n -F | ./lsofgraph | unflatten -l 1 -c 6 | dot -T jpg > /tmp/a.jpgIn case you are not happy using Lua, there is also a Python port of this script available at https://github.com/akme/lsofgraph-python and a Perl port at https://github.com/tehmoth/lsofgraph
