Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Something is eating my disk space



On 27/06/06, Dave M G <martin@example.com> wrote:

On my web hosting service, I have about a gig of space for storage.
But recently I saw an error on one of my web sites that says "disk quota
exceeded".

Are there some commands I could run at the prompt that could help me
locate files or directories that are over a certain size?

Try this:

du -kx --max-depth=5 ./ | sort -n -r | head -25

This will show you the 25 largest directories below the current one. I
don't know how your hosted space is laid out, so if everything is not
kept in one directory hierarchy, you will have to alter the command a
bit.

-Josh


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links