[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: / is suddenly 100% used



On Sat, Mar 03, 2001 at 12:27:04PM -0800, kmself@ix.netcom.com wrote:
> on Sat, Mar 03, 2001 at 11:26:44AM -0800, Brian Frederick Kimball (bfk@footbag.org) wrote:
> > Michael P. Soulier wrote:
> 
> <...>
> 
> > kmself's point is that the file isn't deleted until the process stops
> > using it.  If you rm the file first, you won't know which process is
> > keeping the disk space occupied by using the file.
> 
> Not strictly.  You can track things down through lsof or the /proc
> filesystem, but it's hard to work out what files are then accounting for
> large amounts of disk utilization.  In other words -- it's a hell of a
> lot easier to deal with a file if you've got a file to deal with, rather
> than just a filehandle (lsof).

lsof +L1

only shows deleted files and the pid holding them open, ready for a
kill -9.  

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgp7VzISDVokn.pgp
Description: PGP signature


Reply to: