Aaron Wallentine's answer led me to my solution.
"Looks like that output is generated by the scripts located in the folder /etc/update-motd.d
. If you go into that directory, you can run the individual scripts for the different bits of info."
Each of the scripts in the folder /etc/update-motd.d
run, I believe, in order of the number they have in their names at login. As an example mine were:
10-header 30-sysinfo 32-site 35-motd 98-autoreboot-warn
You can run each separately to display their data. e.g.:
cd /etc/update-motd.d
sudo ./10-header or sudo ./30-sysinfo**
You could run them all together like this:
sudo /etc/update-motd.d/10-header ; sudo /etc/update-motd.d/30-sysinfo ; ...
using the ;
(semi-colon) symbol to link commands.
but who wants to type all that out, i ended up turning that long linked command string into a shell script.
Change to the bin directory:
cd /bin
create a file, i called mine "clr" because im using it to clear my screen too, call yours whatever:
sudo touch clr
Make your script executable:
sudo chmod +x clr
I used nano to edit mine, use your favorite:
sudo nano clr
Then, add that long command string from before to your file, remember to use your motd files, not mine, as they will be different:
clear ; sudo /etc/update-motd.d/10-header ; sudo /etc/update-motd.d/30-sysinfo ; sudo /etc/update-motd.d/ ; sudo /etc/update-motd.d/32-site ; sudo /etc/update-motd.d/35-motd ; sudo /etc/update-motd.d/98-autoreboot-warn
Save it, and run it whenever to see your motd freshly updated, note I added clear ;
in mine, so when I type clr
it will clear my screen and show updated stats.
I think that is all I got, hope it helps someone.