From owner-freebsd-questions Tue Oct 1 3:18:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9359B37B401 for ; Tue, 1 Oct 2002 03:18:37 -0700 (PDT) Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2388843E65 for ; Tue, 1 Oct 2002 03:18:37 -0700 (PDT) (envelope-from edwin@mavetju.org) Received: from k7.mavetju (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 5B75F2B739; Tue, 1 Oct 2002 12:18:34 +0200 (CEST) Received: by k7.mavetju (Postfix, from userid 1001) id 52F516A712B; Tue, 1 Oct 2002 20:18:29 +1000 (EST) Date: Tue, 1 Oct 2002 20:18:29 +1000 From: Edwin Groothuis To: Roman Neuhauser Cc: freebsd-questions Subject: Re: tool to show programs holding locks? Message-ID: <20021001101829.GB930@k7.mavetju> Mail-Followup-To: Edwin Groothuis , Roman Neuhauser , freebsd-questions References: <20021001101205.GE30361@freepuppy.bellavista.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021001101205.GE30361@freepuppy.bellavista.cz> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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