3 ms·
This looks great, without knowing much I was able to get: ./websocketd --staticdir=. --port=8123 ps to give me a simple output of processes. What I'd really L
by aabajian 12y ago
This looks great, without knowing much I was able to get:
./websocketd --staticdir=. --port=8123 ps
to give me a simple output of processes. What I'd really LOVE is to get this to work:
./websocketd --staticdir=. --port=8123 htop
It'd be great if I could see the output of htop on the web...from anywhere. I guess htop is setting up a different video mode or something that isn't compatible?
- olalonde 12y agoI think you would need to feed what you are getting to a Javascript terminal emulator. (e.g. https://github.com/chjj/tty.js/ https://github.com/chjj/tty.js/)