ubuntu實時顯示網速cpu占用和內存占用率
大家在使用ubuntu的時候,有沒有想讓它實時顯示網速,內存占用率,或者cpu占用率呢?現在我就教大家怎么實現,就像下面這樣
1. 添加indicator-sysmonitor的下載源,右鍵打開終端,復制后在終端按shift+ctrl+V粘貼下面的命令
sudo add-apt-repository ppa:fossfreedom/indicator-sysmonitor
2. 更新apt-get
sudo apt-get update
3. 安裝indicator-sysmonitor
sudo apt-get install indicator-sysmonitor
4.啟動
indicator-sysmonitor &
這個時候通知欄就會出現cpu占用率和內存占用率,然后現在我們來設置顯示網速與開機自啟,注意,現在不要關閉終端,一關上面的顯示就沒了。
點擊顯示的文字,選擇preferences
勾選開機自啟
然后切換到advanced,修改編輯框為這樣,在文字后面加入net{net}
點擊Test,然后網速就出來了。
然后關閉終端,它會不見了,但是下次開機,它就會一直顯示了。但是記住要點保存。