SSH在登錄服務(wù)器后如何顯示基礎(chǔ)信息
本文主要給大家介紹了SSH登錄服務(wù)器后顯示基礎(chǔ)信息的相關(guān)內(nèi)容,分享出來供大家參考學(xué)習(xí),下面來看看詳細(xì)的介紹:
方法如下:
安裝landscape-common,可以在登錄時候顯示一些基礎(chǔ)的信息,例如CPU內(nèi)存占用等等
sudo apt-get install landscape-common
安裝update-notifier-common,當(dāng)有軟件包更新的時候,會在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!
總結(jié)
以上就是這篇文章的全部內(nèi)容了,希望本文的內(nèi)容對大家的學(xué)習(xí)或者工作能帶來一定的幫助,如有疑問大家可以留言交流,謝謝大家對本站的支持。
版權(quán)聲明:本站文章來源標(biāo)注為YINGSOO的內(nèi)容版權(quán)均為本站所有,歡迎引用、轉(zhuǎn)載,請保持原文完整并注明來源及原文鏈接。禁止復(fù)制或仿造本網(wǎng)站,禁止在非maisonbaluchon.cn所屬的服務(wù)器上建立鏡像,否則將依法追究法律責(zé)任。本站部分內(nèi)容來源于網(wǎng)友推薦、互聯(lián)網(wǎng)收集整理而來,僅供學(xué)習(xí)參考,不代表本站立場,如有內(nèi)容涉嫌侵權(quán),請聯(lián)系alex-e#qq.com處理。
關(guān)注官方微信