find / -size +100M -exec ls -lh {} \;
# 查看整體磁盤占用
df -h
#切換到這塊磁盤檢查一下這塊磁盤的哪個文件夾占用高,再逐層去查找
du -h --max-depth=1
[root@localhost logs]# du -h --max-depth=1 |grep 'G' |sort
276G ./xx
289G .
3.9G ./space
9.3G ./default_log
/usr/local/openresty/nginx/logs