straddling the thin line between genius and insanity ...
Friday, December 16, 2011
Finding the largest sized directory
One of our servers keeps running out of disk space. To address this, we needed to find out which folders had the largest size.
On ubuntu server 10.04LTS, this is how we found the directories with the greatest size:
du -m /var/log | sort -n -r | head -n 10
I hope you found the post useful. You can
subscribe via email
subscribe via a feed reader
to get relevant updates from this blog. Have a nice day.
Share to Twitter
Share to Facebook
Share to Pinterest
Post a Comment
Post Comments (Atom)