SSH在登錄服務器后如何顯示基礎(chǔ)信息
前言
本文主要給大家介紹了SSH登錄服務器后顯示基礎(chǔ)信息的相關(guān)內(nèi)容,分享出來供大家參考學習,下面來看看詳細的介紹:
方法如下:
安裝landscape-common,可以在登錄時候顯示一些基礎(chǔ)的信息,例如CPU內(nèi)存占用等等
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!
總結(jié)
以上就是這篇文章的全部內(nèi)容了,希望本文的內(nèi)容對大家的學習或者工作能帶來一定的幫助,如有疑問大家可以留言交流,謝謝大家對腳本之家的支持。
相關(guān)文章
解決Centos7下crontab+shell腳本定期自動刪除文件問題
小編最近遇到這樣的需求,就是rsync每次同步的數(shù)據(jù)量很多,但是需要保留的數(shù)據(jù)庫bak文件,保留7天就夠了,所以需要自動清理文件夾內(nèi)的bak文件。這篇文章主要介紹了解決Centos7下crontab+shell腳本定期自動刪除文件問題,需要的朋友可以參考下2018-11-11
Centos6.5全自動安裝 vsftpd+dhcp+nfs+tftp
本文主要記述了在Centos6.5中,如何配置無人值守安裝vsftpd+dhcp+nfs+tftp,非常實用,希望對大家能有所幫助。2014-09-09
CentOS 6.3下源碼安裝LAMP(Linux+Apache+Mysql+Php)運行環(huán)境步驟
這篇文章主要介紹了CentOS 6.3下源碼安裝LAMP(Linux+Apache+Mysql+Php)運行環(huán)境步驟,需要的朋友可以參考下2014-07-07

