1.free -m只能查看内存总量情况
2.top M ( 注意M是大写)
3.ps aux|head -1; ps aux | sort -k4nr | head -10
---------------------
硬盘占用
df -lh
(查看文件占用)
du -h --max-depth=1
(查看删除占用)
lsof -n | grep deleted
查看日志
tail -1 /var/log/boot.log
1.free -m只能查看内存总量情况
2.top M ( 注意M是大写)
3.ps aux|head -1; ps aux | sort -k4nr | head -10
---------------------
硬盘占用
df -lh
(查看文件占用)
du -h --max-depth=1
(查看删除占用)
lsof -n | grep deleted
查看日志
tail -1 /var/log/boot.log
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。