Who rated this post

cancel
Showing results for 
Search instead for 
Did you mean: 
the_rock
Legend
Legend

I always do something like this. First, run df -h and see what dir is the "fullest". Then, say it shows its /var/log at, for argument sake, at 90% capacity, do something like this:

find /var/log -size +500000000c 

That will look for ANY files bigger than 500 MB in /var/log. You can apply same method for any dir and any file size.

Andy

 

(1)
Who rated this post