Ubuntu实时监控网速、CPU、内存
sudo add-apt-repository ppa:fossfreedom/indicator-sysmonitor
sudo apt-get update
sudo apt-get install indicator-sysmonitor
终端执行:
indicator-sysmonitor &
然后Ctrl+C
就可以实现后台运行indicator-sysmonitor。
为程序添加开机启动!鼠标右键点击标题栏上图标,弹出菜单,选择首选项,在弹出的界面选中Run on Startup
在高级
标签页中输入{net} C{cpu} M{mem}
就可以在标题栏显示上下行网速、CPU和内存的使用情况,也可以自定义显示的内容。
关于在命令行监控CPU的方法请参考
https://blog.csdn.net/hhy_csdn/article/details/64915993