lsofgraph

lsof to graphviz

Github stars Tracking Chart

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.jpg

or add unflatten to the chain for a better layout:

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

It seems that Lua was an unfortunate choice, since people keep sending me links to ports in other languages. If you also hate Lua, raise your hand and check the Python port at https://github.com/akme/lsofgraph-python or the Perl port at https://github.com/tehmoth/lsofgraph.

example output

Main metrics

Overview
Name With Ownergoogle/binnavi
Primary LanguageJava
Program languageLua (Language Count: 12)
Platform
License:Apache License 2.0
所有者活动
Created At2015-08-19 12:20:24
Pushed At2020-10-23 07:04:37
Last Commit At2020-10-23 09:04:27
Release Count3
Last Release Namev1.2.0 (Posted on )
First Release Namev6.0.0 (Posted on )
用户参与
Stargazers Count2.9k
Watchers Count218
Fork Count455
Commits Count296
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count53
Pull Requests Open Count0
Pull Requests Close Count11
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private