df -h shows me that / partition jumps about 7-9% daily in size but I am not sure of the culprit, I know there is a command where you can find the file sizes and sort them biggest to smallest.
MattyMoose
7:58 pm on Feb 21, 2006 (gmt 0)
what about:
du ¦ sort -n
iceman42
8:02 pm on Feb 21, 2006 (gmt 0)
du: invalid option -- n
MattyMoose
8:04 pm on Feb 21, 2006 (gmt 0)
Did you put the "¦" in there? IIRC, WebmasterWorld does something weird to the pipes.
Anyway, try this one that I found which is pretty good:
du -h ¦ grep "[0-9]M" ¦ sort -n -r ¦ less
That will only find files that are >= 1MB
Cheers, Matt
Birdman
10:29 pm on Feb 21, 2006 (gmt 0)
FileLight [methylblue.com] is a cool graphical disk-usage utility.
zCat
10:36 pm on Feb 21, 2006 (gmt 0)
find / -size +1024k -exec ls -sh {} \; ¦ sort -r -n ¦ less
will find all files beginning in the root directory larger than 1024 kilobytes. Change according to requirments. Unfortunately there's no shortcut for specifiying the size in megabytes.
jatar_k
10:38 pm on Feb 21, 2006 (gmt 0)
as a sidenote for all commands listed above
always change the ¦ char in copied commands from the forum with a true pipe character