[SOLVED] Systeminfo on SSH

I like the system-info when you start SSH, so I want to transfer this script to other RPi (not running OpenHabian). Is this possible? Where can I find it?

###############################################################################
###############  openHABianPi  ################################################
###############################################################################
##        Ip = 192.168.0.254
##   Release = Raspbian GNU/Linux 9 (stretch)
##    Kernel = Linux 4.19.66-v7+
##  Platform = Raspberry Pi 3 Model B Plus Rev 1.3
##    Uptime = 0 day(s). 1:30:12
## CPU Usage = 8.54% avg over 4 cpu(s) (4 core(s) x 1 socket(s))
##  CPU Load = 1m: 0.21, 5m: 0.23, 15m: 0.26
##    Memory = Free: 0.13GB (14%), Used: 0.82GB (86%), Total: 0.95GB
##      Swap = Free: 0.09GB (100%), Used: 0.00GB (0%), Total: 0.09GB
##      Root = Free: 24.29GB (88%), Used: 3.28GB (12%), Total: 29.08GB
##   Updates = 0 apt updates available.
##  Sessions = 1 session(s)
## Processes = 114 running processes of 32768 maximum processes
###############################################################################

I did find some related info on the web but I prefer the above good layout of the OpenHab(ian) version and perhaps Cut and Paste off course :slight_smile: Can anyone help?

You might be able to find what your looking for in the code found here.

Have a look at FireMotD, e.g. FireMotD -t Elastic

1 Like

This link might be usefull too for others: