[nflug] uhoh

Dennis Ruzeski denniruz at gmail.com
Wed Aug 9 12:06:21 EDT 2006


I like
du -k / |sort -nr |more



On 8/9/06, JJ Neff <jjneff at yahoo.com> wrote:
>
> Just some variants
>
> I like du -skh (make Human readable)  Then I grep G or M to ignore all K
> files, dirs..
>
> JJN
>
> ----- Original Message ----
> From: Mark Musone <mmusone at shatterit.com>
> To: nflug at nflug.org
> Sent: Wednesday, August 9, 2006 9:22:10 AM
> Subject: RE: [nflug] uhoh
>
> Go into the / directory and type:
>
>
> /# du -sk *
>
> This should give you a list of all directories and their sizes
>
> Find the ones that are the biggest (not including /var,/usr,/tmp,/home)
> and
> go into those directories, issuing du -sk * in that sub directory..etc..
>
> Another option is the find command:
>
> "find / -mtime +1"    (shows all files that have been modified in the past
> day)
>
> "find / -size +100K" (shows all files that are bigger than 100K"
>
>
> -Mark
>
>
> -----Original Message-----
> From: nflug-bounces at nflug.org [mailto:nflug-bounces at nflug.org] On Behalf
> Of
> eric
> Sent: Wednesday, August 09, 2006 10:17 AM
> To: nflug at nflug.org
> Subject: [nflug] uhoh
>
> File system            Size  Used Avail Use% Mounted on
> /dev/hdc3             251M  251M     0 100% /
> tmpfs                 758M  4.0K  758M   1% /dev/shm
> /dev/hdc8             101G   12G   85G  12% /home
> /dev/hdc7             358M  8.1M  331M   3% /tmp
> /dev/hdc4             4.6G  516M  3.9G  12% /usr
> /dev/hdc5             2.8G  1.6G  1.2G  58% /var
>
> My / directory is stuffed, I already have /var/logs linked into a /home
> dir
> how do I take out the trash sort of speak, I guess I should really know
> what
> the culprit file or files that caused the fill up as well
>
> Thanks again,
> eric
>
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
>
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
>
>
>
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nflug.org/pipermail/nflug/attachments/20070525/5d727a7a/attachment.html
-------------- next part --------------
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug


More information about the nflug mailing list