Home

Awesome

<div align="center">

☘️ iftree

iftree command visulize local network interfaces.

intent for better understanding container networks :D

golangci-lint CodeQL Go Report Github All Releases

</div>

<img src="./asset/sample.jpg" alt="iftree --graph" width="60%" align="right" />

<img src="./asset/sample-term.png" alt="iftree" width="60%" align="right" />

Features

usage

iftree [options]

Example:
  generate tree output
    # sudo iftree 
  generate png graph with name "output.png"
    # sudo iftree --graph -Tpng -Ooutput.png
  generate image with dot
    # sudo iftree --graph -Tdot | dot -Tpng  > output.png
  generate table output
    # sudo iftree --table

text

sudo iftree

graph

support jpg, svg, png

sudo iftree --graph -Tpng

Or create an ouput image with any graphviz compatible renderer. e.g: online editor: https://dreampuf.github.io/GraphvizOnline

sudo iftree --graph -Tdot

generate image using dot(http://www.graphviz.org/download/#executable-packages)

sudo iftree --graph -Tdot | dot -Tpng  > output.png

table

sudo iftree --table

table