I have a local server running Ubuntu 10.04 headlessly. When I ssh to the server I get some core information about the system, such as
System load: 0.0 Processes: XXX
Usage of /: 2.5% of 452.69GB Users logged in: 0
Memory usage: 10% IP address for lo: XXX.XXX.XXX.XXX
Swap usage: 0% IP address for eth0: XXX.XXX.XXX.XXX
Temperature: 40 C
What is the command to get this information to print again? I tried looking in the rc.local and the bash.bashrc file to see how this was run, but I could not find anything.
The command is
it is run from
/etc/update-motd.d/50-landscape-sysinfo
when you have installed the package landscape-common.As of Ubuntu 12.04 (perhaps earlier), update-motd is run at login time by the PAM module pam_motd.so. Originally, update-motd was a cron job.
landscape-sysinfo
is a part of the packagelandscape-common
, so if it's missing you can install it by the command: