/ Tools

Colony Graphs

This is mostly a C/C from http://www.brendangregg.com/ColonyGraphs/cloud.html

Install requirements

sudo apt install graphviz -y
wget http://www.brendangregg.com/ColonyGraphs/ps2gv-p.sh
wget http://www.brendangregg.com/ColonyGraphs/colors.awk
chmod +x ps2gv-p.sh

Graph your station

sudo ps -eo ppid,pid,rss,pcpu,comm | awk '{ print "-", $0 }' > ps-$(hostname -s).txt
./ps2gv-p.sh ps-$(hostname -s).txt
neato -Tpng -Nfontsize=12 -Elen=1.9 ps-$(hostname -s).gv -o ps-$(hostname -s).png
Colony Graphs
Share this