Skip site navigation (1)Skip section navigation (2)
Date:      09 Jul 2003 15:27:38 +0000
From:      "Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu>
To:        Kirk Strauser <kirk@strauser.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: /var error
Message-ID:  <1057764457.1862.4.camel@pyanfar.ece.cmu.edu>
In-Reply-To: <87fzlfhghb.fsf@pooh.honeypot.net>
References:  <20030709082956.61490.qmail@web42004.mail.yahoo.com> <1057739810.6430.3.camel@pyanfar.ece.cmu.edu> <87fzlfhghb.fsf@pooh.honeypot.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2003-07-09 at 15:22, Kirk Strauser wrote:
> At 2003-07-09T08:36:50Z, "Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu> writes:
> > Install sysutils/lsof and use it to find what program has a deleted file
> > open on /var; kill that program, and the space will be reclaimed.
> 
> I see that advice a lot.  Is lsof inherently superior to `fstat' in the base
> system?

fstat (everyone else who has this calls it "fuser", so I didn't even
know it was there) doesn't seem to provide much information; lsof gives
you enough to have a decent chance of identifying the file in question,
which is problematic when it doesn't have a name....

-- 
brandon s. allbery   [os/2][linux][solaris][japh]  allbery@kf8nh.apk.net
system administrator      [WAY too many hats]        allbery@ece.cmu.edu
electrical and computer engineering                                KF8NH
carnegie mellon university  ["better check the oblivious first" -ke6sls]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1057764457.1862.4.camel>