Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2008 18:11:47 +0100
From:      Erwan David <erwan@rail.eu.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Urgent: filesystem "full", though space is available
Message-ID:  <20080317171147.GL11823@trusted-logic.com>
In-Reply-To: <20080317123343.84c613c1.wmoran@potentialtech.com>
References:  <878724.45020.qm@web53408.mail.re2.yahoo.com> <20080317161013.GE42595@gizmo.acns.msu.edu> <e27a91b40803170922w6a5a57b1j105ff0f04e0db995@mail.gmail.com> <20080317122525.5b3d634f.wmoran@potentialtech.com> <20080317162944.GD4295@dan.emsphone.com> <20080317123343.84c613c1.wmoran@potentialtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Le Mon 17/03/2008, Bill Moran disait
> In response to Dan Nelson <dnelson@allantgroup.com>:
> 
> > In the last episode (Mar 17), Bill Moran said:
> > > In response to "Armando Cambra" <acambra@gmail.com>:
> > > 
> > > > Or try to find the culprit with lsof (can't remember the options).
> > > > You will see some processes using files you don't have --> kill
> > > > that process and your space will be freed.
> > > 
> > > You can also use fstat if you don't wan to install Linux software on your
> > > BSD system.
> > 
> > The l in lsof doesn't stand for Linux :)  lsof is bsd-licensed
> > actaully.
> 
> True, but not my point.
> 
> lsof is like wget ... it's built into almost every Linux distro.  Thus
> you see lots of people suggesting your install lsof and wget on BSD
> systems with no mention of fstat and fetch.  Even if lsof is BSD
> licensed, it's really a Linux program on account of how it's used.
> 
> fstat, in particular, is just as useful as lsof in every case I've needed
> it.

I use lsof to get the list of removed files still open (lsof +L1,
useful after a port upgrade to check wether all upgraded daemons
indeed restarted). It seems it's not possible with fstat.

-- 
Erwan



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