Thursday, 6 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.

HP ProLiant BL460c Gen8 Desktop

 We have a number of HPE blades that have been decommissioned and I was wondering if these could be used for some light R&D without the ...