bashplotlib icon indicating copy to clipboard operation
bashplotlib copied to clipboard

Life feed ploting

Open rgarrigue opened this issue 6 years ago • 0 comments

Hi

I wish I could do some "live" ploting. Let's say I'm migrating stuff from server, I'ld like to keep an eye on disk space, I'ld like to do something like

while true; do sleep 1; df -k / --output=used | tail -n1; done | hist -n

Or maybe

hist --command 'df -k / --output=used | tail -n1'

Which would draw a simple plot "in place", I mean refreshing it instead of a new one. With a couple of option like rate (plot every X seconds), and horizontal rule (in my example, a value I don't wanna cross)

I know nowadays it's all about prometheus grafana etc, but a good CLI tool is still priceless for smaller team

Best regards,

rgarrigue avatar Mar 13 '19 12:03 rgarrigue