Centos查找大文件的办法

find / -size +100M -exec ls -lh {} \;nginx   # 查看总体磁盘占用 df -h #切换到这块磁盘检查一下这块磁盘的哪一个文件夹占用高,再逐层去查找 du -h --max-depth=1 [root@localhost logs]# du -h --max-depth=1 |grep 'G' |sort 276G    ./xx 289G    . 3.
相关文章
相关标签/搜索