Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2002 20:18:29 +1000
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Roman Neuhauser <neuhauser@bellavista.cz>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: tool to show programs holding locks?
Message-ID:  <20021001101829.GB930@k7.mavetju>
In-Reply-To: <20021001101205.GE30361@freepuppy.bellavista.cz>
References:  <20021001101205.GE30361@freepuppy.bellavista.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 01, 2002 at 12:12:05PM +0200, Roman Neuhauser wrote:
> ISTR this has been mentioned on this list, but I can't find it. I need
> to find out what's keeping a file locked. What do I need to install?

You can use fstat (fstat /var/log/maillog for example) or try
installing /usr/prots/sysutils/lsof for it.

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.MavEtJu.org
edwin@mavetju.org    |    Weblog: http://www.mavetju.org/weblog/weblog.php 
bash$ :(){ :|:&};:   | Interested in MUDs? http://www.FatalDimensions.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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