[Leaplist] help with Xforwarding

Phil Barnett philb at philb.us
Sun Nov 12 10:52:25 EST 2006


On Sunday 12 November 2006 10:35, Homer Whittaker wrote:
> Bryan J. Smith wrote:
> > On Sat, 2006-11-11 at 23:50 -0500, Phil Barnett wrote:
> >> cd /
> >> du -h --max-depth=1
> >
> > And just drill-down from there.  I.e., run that on the root, then the
> > offending subdirectories, etc...
> >
> > Betcha $5 its either /tmp or /var.  ;->
>
> And then what?  Once one isolates the subdirectory how do you cure the
> problem?

move the the directory that the previous command revealed as the culprit and 
run:

ls -lart

That will give you a list of the files in that directory sorted with the 
biggest files at the bottom of the list. Look at them and decide what you 
will be deleting. Sometimes, it's a core dump. Sometimes, it's a temp file. 
Sometimes, it's a program that went crazy. Almost always it's just one file, 
but sometimes it's a bunch of files.

It's not a black art, it's just digging for the offender(s).

-- 
My other computer is your Windows machine


More information about the Leaplist mailing list