Scenario: The monitoring system sends an email stating a Linux server is running low on disk space. I often had a hard time figuring out what part of the filesystem was growing and needed attention. I've used this a few times with good success.
cd /path/to/some/where
du -hsx * | sort -rh | head -10
Keep drilling down to find the root cause of the disk space issue.
No comments:
Post a Comment