lsofgraph

lsof to graphviz

Github星跟踪图

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

主要指标

概览
名称与所有者google/binnavi
主编程语言Java
编程语言Lua (语言数: 12)
平台
许可证Apache License 2.0
所有者活动
创建于2015-08-19 12:20:24
推送于2020-10-23 07:04:37
最后一次提交2020-10-23 09:04:27
发布数3
最新版本名称v1.2.0 (发布于 )
第一版名称v6.0.0 (发布于 )
用户参与
星数2.9k
关注者数218
派生数455
提交数296
已启用问题?
问题数0
打开的问题数0
拉请求数53
打开的拉请求数0
关闭的拉请求数11
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?