4 ms·
Neat thanks! You can generate HTML (and from that png or whatever) with http://www.pixelbeat.org/scripts/ansi2html.sh http://www.pixelbeat.org/scripts/ansi2htm
by pixelbeat 11y ago
Neat thanks!
You can generate HTML (and from that png or whatever) with http://www.pixelbeat.org/scripts/ansi2html.sh http://www.pixelbeat.org/scripts/ansi2html.sh like
$ COLUMNS=80 timeout 1 htop > t.ansi
$ ansi2html.sh --bg=dark < t.ansi > t.html
I've requested a -b, --batch option for htop, to simplify this mode of operation. https://github.com/hishamhm/htop/issues/282 https://github.com/hishamhm/htop/issues/282 Then you could just:
$ COLUMNS=80 htop -b | ansi2html.sh ...
- deleted 11y ago[deleted]