Skip to main content


Showing posts from April, 2017

Output Glances onto a headless server

So you have a headless Ubuntu server, but it does have a screen? How do you output Glances to the screen without connecting a keyboard?

First wake the screen up
sudo sh -c 'echo -ne "\033[9;0]" >/dev/tty0'
and now send Glances to it

sudo sh -c 'glances > /dev/tty0'
Drop this inside a screen and it will keep running when you disconnect.