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

posted on 2017-07-01 10:03  七月逆流  阅读(14560)  评论(0编辑  收藏  举报