As seen in the previous post, the SSH terminal of my Pi gives some useful stats. This is done using GNU Screen, with a custom config file. This file is .screenrc in your user’s home folder. My personal code is posted below:
|
<strong> ~/.screenrc</strong> startup_message off backtick 1 30 30 $HOME/bin/disk.sh backtick 2 30 30 $HOME/bin/mem.sh hardstatus alwayslastline hardstatus string '%{gk}[ %{G}%H %{g}][Disk: %1` RAM: %2`M][%= %{wk}%?%-Lw%?%{=b kR}(%{W}%n*%f %t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%= %{g}][%{Y}%l%{g}]%{=b C}[ %m/%d %c ]%{W}' nonblock 1 defnonblock 1 |
I have uploaded the pair of scripts
Continue readingRasPi Terminal Customisations