All Projects → akme → Lsofgraph Python

akme / Lsofgraph Python

Licence: mit
python version of lsof to graphviz parser

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Lsofgraph Python

D3 Graphviz
Graphviz DOT rendering and animated transitions using D3
Stars: ✭ 901 (+750%)
Mutual labels:  graphviz
Dockviz
Visualizing Docker data
Stars: ✭ 1,104 (+941.51%)
Mutual labels:  graphviz
Grapherl
Create graphs of Erlang systems and programs
Stars: ✭ 78 (-26.42%)
Mutual labels:  graphviz
Language Dot
Dot (Graphviz) package for Atom
Stars: ✭ 11 (-89.62%)
Mutual labels:  graphviz
Asciidoctor Kroki
Asciidoctor.js extension to convert diagrams to images using Kroki!
Stars: ✭ 55 (-48.11%)
Mutual labels:  graphviz
Graphviz Aws
AWS architecture the easy way
Stars: ✭ 63 (-40.57%)
Mutual labels:  graphviz
Kroki
Creates diagrams from textual descriptions!
Stars: ✭ 774 (+630.19%)
Mutual labels:  graphviz
Diagram Tools
A number of small tools for generating and manipulating diagrams, mostly based around Graphviz
Stars: ✭ 95 (-10.38%)
Mutual labels:  graphviz
Hpcc Js Wasm
HPCC-Systems Web-Assembly (JavaScript)
Stars: ✭ 56 (-47.17%)
Mutual labels:  graphviz
Memviz
Visualize your Go data structures using graphviz
Stars: ✭ 1,197 (+1029.25%)
Mutual labels:  graphviz
Java9 Jigsaw Depvis
DepVis (Java 9 Jigsaw Dependency Visualizer)
Stars: ✭ 14 (-86.79%)
Mutual labels:  graphviz
Kubernetes Plantuml
Kubernetes diagrams using VS Code
Stars: ✭ 48 (-54.72%)
Mutual labels:  graphviz
Knife Role Spaghetti
Knife plugin for Chef to draw dependency graphs for roles. Cut through the spaghetti with a knife.
Stars: ✭ 68 (-35.85%)
Mutual labels:  graphviz
D3 Dot Graph
This module provides D3js compatible library to parse and load files in graphviz DOT (.dot) (graph description language) format.
Stars: ✭ 23 (-78.3%)
Mutual labels:  graphviz
Vzl
💠 DOT Language Live Editor (GraphViz)
Stars: ✭ 83 (-21.7%)
Mutual labels:  graphviz
Protobuf Uml Diagram
Create UML diagrams from Protobuf compiled .proto files using Python
Stars: ✭ 17 (-83.96%)
Mutual labels:  graphviz
Oligrapher
JavaScript app for displaying annotated network graphs based on data from LittleSis
Stars: ✭ 62 (-41.51%)
Mutual labels:  graphviz
Blast Radius
Interactive visualizations of Terraform dependency graphs using d3.js
Stars: ✭ 1,376 (+1198.11%)
Mutual labels:  graphviz
Graphviz
Stars: ✭ 84 (-20.75%)
Mutual labels:  graphviz
Markdeck
presentations as code - author cool slide decks, text-only, offline-ready, collaborative
Stars: ✭ 1,159 (+993.4%)
Mutual labels:  graphviz

Python 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 | python lsofgraph.py | dot -Tjpg > /tmp/a.jpg
    OR
sudo lsof -n -F | python lsofgraph.py | dot -T svg > /tmp/a.svg

or add unflatten to the chain for a better layout:

sudo lsof -n -F | python lsofgraph.py | unflatten -l 1 -c 6 | dot -T jpg > /tmp/a.jpg
    OR
sudo lsof -n -F | python lsofgraph.py | unflatten -l 1 -c 6 | dot -T svg > /tmp/a.svg

example output

Install and use on MacOS

Graphviz contains utilities dot and unflatten

brew install Graphviz
git clone https://github.com/akme/lsofgraph-python.git
cd lsofgraph-python
lsof -n -F | python lsofgraph.py | unflatten -l 1 -c 6 | dot -T jpg > /tmp/a.jpg && open /tmp/a.jpg
lsof -n -F | python lsofgraph.py | unflatten -l 1 -c 6 | dot -T svg > /tmp/a.jpg && open -a Safari.app '/tmp/a.svg'
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].