[nflug] uhoh
Mark Musone
mmusone at shatterit.com
Wed Aug 9 13:29:22 EDT 2006
It is taking so long because "*" in / will also match and count the files in
/home,/tmp,/usr, and /var.
Manually put in the directory names, omitting those directories that are on
other disks:
In the following case of my / directory:
-bash-2.05b# ls
bin boot dev etc home initrd lib local lost+found mnt mnt2 proc
root sbin tftpboot tmp usr var
"du -sk bin boot etc initrd lib local mnt mnt2 root sbin"
It'd be a lot faster.
Same thing with "find", issue the -xdev option to stay in just the /
filesystem
"find / -xdev -size +100K" ...etc..
-Mark
-----Original Message-----
From: nflug-bounces at nflug.org [mailto:nflug-bounces at nflug.org] On Behalf Of
eric
Sent: Wednesday, August 09, 2006 1:21 PM
To: nflug at nflug.org
Subject: Re: [nflug] uhoh
the commands are working so incredibly slow I decieded to delete some
"safe stuff" I have a webmin directory in /root that has been their all
along so I started to get rid of some files and the commands "find" "du"
are still moving like snails, I tried du -s * from the / dir ...it had
been running for a half hour so I zapped it with ctrl z and tried to
delete some more stuff out the webmin dir. So, I have a new question:
could something on the system be creating a file or files constantly or
can the 251M that was alotted over spill on the / dir and I have to
delete down to 251M like memory is waiting to write to the hard drive?
I slap my hands everytime I think I want to just restart the server
typical windows brainwashing.
Thanks,
Eric
Darin Perusich wrote:
>or it could be /root.
>
>David J. Andruczyk wrote:
>
>
>>cd / ; du -s *
>>
>>Odds are it's /lib/modules filled up if you have several kernels
>>installed..
>>
>>
>>--- eric <eric at bootz.us> wrote:
>>
>>
>>
>>>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
>>>
>>>
>>>
>>-- David J. Andruczyk
>>
>>__________________________________________________
>>Do You Yahoo!?
>>Tired of spam? Yahoo! Mail has the best spam protection around
>>http://mail.yahoo.com
>>_______________________________________________
>>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
More information about the nflug
mailing list