Thanks for the response Everyone.  I'm investigating it right now.  Civilme
thanks for the du command, it lists the files, only one problem:

du: cannot change to directory /proc/6/fd: Permission denied
du: cannot change to directory /proc/71/fd: Permission denied
du: /proc/3281/fd/4: No such file or directory

I enter this command as root.

----- Original Message -----
From: Brian T. Schellenberger <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 05, 2000 6:47 AM
Subject: Re: [expert] Help!


>
> Or use "du" and then sort it numerically; eg,
>
> du / | sort -n
>
> Prints the largest directories, cumulatively.  The "xdu" program will
> show it graphically.
>
> (find . -follow -type f -size +100k !* -exec du {} \;) | sort -r -n >
> big-files
>
> produces a noice sorted list of the biggest files;
>
> Civileme wrote:
> >
> > Cecil Watson wrote:
> > >
> > > Help!  Some how something seems to be eating up space on my hard
drive!
> > > I won't be able to get to the system till Monday.  I have OpenSSH
> > > access, but cannot find anything out of place?  Anyone got any ideas?
I
> > > know I had plenty of room available on it?!  Thanks in advance,
> > >
> > > Cecil
> >
> > For the fine-grained investigation
> >
> >       ls -a -l -R -H (target directory) | grep ./ -A 1 | lpr
> >
> > My guess is you will find
> >
> > ~/.netscape/cache/00
> > ~/.netscape/cache/01
> > *
> > *
> > *
> > ~/.netscape/cache/1F
> >
> > with each about 2-4Mb in them, still technically under the
> > default 5000kb limit set for the cache size, but with 30 or more
> > subdirectories in the cache each approaching that limit.
> >
> > The "cure" I use is a script
> > #-----------cachebash begins below with the line beginning with
> > #! being the first line in the file
> >
> > #!/bin/sh
> > for i in `sed s/:/ / /etc/passwd | gawk /^[a-z]/ print $1`
> > do
> >         if [ -d /home/$i/.netscape ] then
> >                 rm -R -f /home/$i/.netscape/cache
> >         fi
> > done
> > rm -R -f /root/.netscape/cache
> >
> > #---------End of script
> >
> > the sed changes the colons in /etc/passwd lines to a single space
> > so gawk can see them as fields and the print $1 lists all users.
> > Then the if checks if the user has a netscape cache and deletes
> > it and all its subdirectories if so.  The last line isn't in my
> > /root/cachebash script because I don't netscape as root, but is
> > included here for those who might do so inadvertantly.  The whole
> > script is stored as /root/cachebash and is run weekdays at 16:01
> > by cron (running as root, obviously).
> >
> > I have seen results up to the removal of 9000 or more files.
> >
> > And soon, if my tests on Konqueror continue to produce the
> > results I have seen thus far, this script won't be necessary,
> > because I won't be using netscape.  At one time I admired
> > Netscape and now when it goes off my system I won't shed a tear.
> >
> > Civileme
>
> --
> "Brian, the man from babble-on"              [EMAIL PROTECTED]
> Brian T. Schellenberger                      http://www.babbleon.org
> Support http://www.eff.org.                  Support decss defendents.
> Support http://www.programming-freedom.org.  Boycott amazon.com.
>

Reply via email to