Jinn Koriech uploaded py-htbstat to github — https://github.com/jinnko/py-htbstat.
It’s great! Now everything that i would like to improve — i will improve over there.
py-htbstat — py-htbstat is a tool for collecting HTB kernel statistics, it allows to view graphs and perform basic analysis.
py-htbstat works with «standard» Python binding to rrdtool of RRDTool contribution.
As Xesc Arbona have noticed, py-htbstat also works with PRIO statistics, not only HTB.
To have this working he filtered output of
/sbin/tc -s -d class show dev $DEV via
grep -v "class prio" before feeding it to py-htbstat. Thank you, Xesc! (20081217)