闫刚 提升linux系统的效率,减少linux内存的使用

ubuntu启动界面和ssh登录内部的占用情况

不登录系统是下面的现象

yangang@ubuntu:~/work/theone_proj/theone-heli$ free -h total used free shared buff/cache available Mem: 3.8G 451M 2.2G 6.5M 1.2G 3.1G Swap: 4.0G 0B 4.0G

登录ubuntu系统后内存情况

yangang@ubuntu:~$ free -h total used free shared buff/cache available Mem: 3.8G 1.2G 1.3G 21M 1.3G 2.3G Swap: 4.0G 0B 4.0G

总结

由于linux的界面占用很多内存情况,如果不启动界面的可以完成工作,最好不启动界面,通过ssh登录 服务器进行控制,通过FTP可以传输文件

猜你喜欢

转载自blog.csdn.net/yangang185/article/details/89154180