るいすのブログ

オタクエンジニアの雑記

サーバーの容量がいっぱいになったときの対処方法


ルートディレクトリから追っていく

# du -sh /* | sort -hr | head -n 10

ディレクトの中で

# du -sh ./* | sort -hr | head -n 10