安裝landscape-common,可以在登錄時候顯示一些基礎的信息,例如CPU內存占用等等
sudo apt-get install landscape-common
安裝update-notifier-common,當有軟件包更新的時候,會在SSH登錄成功后提示用戶
sudo apt-get install update-notifier-common
效果如下:
Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-74-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Mon Apr 24 11:20:30 CST 2017 System load: 0.08 Users logged in: 0 Usage of /: 44.2% of 39.25GB IP address for eth0: X.X.X.X Memory usage: 80% IP address for eth1: X.X.X.X Swap usage: 0% IP address for docker0: X.X.X.X Processes: 109 Graph this data and manage this system at: https://landscape.canonical.com/ 8 packages can be updated. 0 updates are security updates. Welcome to aliyun Elastic Compute Service!