Re:Building Rich Terminal Dashboards
by tra3 on Monday February 15, 2021 @08:08PM
(#26149806)
Is this better than splitting panes up with Tmux or similar? You end up losing the ability to pipe things. What do you gain?
[ Parent
| on HN ]
You could detect if stdout is a terminal and then decide for fanciness or machine readability. I think this, along with flags for manually setting rich features, would provide the best of both worlds.
Ahh didn’t know that was a thing. Thanks for setting me straight.
The ability to wrap up arbitrary data sources into an attractive, easy-to-parse TUI. If you have a bunch of things you look at via watch or something similar, wrapping them in this seems like a natural.
Looks like its powerful because you can have a loop and update metrics you can get via python.
I've always wanted to create something like vtop but for network and disk io, this might finally let me do it myself.
Re:Building Rich Terminal Dashboards
by rataata_jr on Tuesday February 16, 2021 @09:10AM
(#26153985)
Take a look at `glances'. I think it does what you want.