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.
相關文章
相關標籤/搜索