Date: Sat, 26 Jan 2002 01:52:25 -0800 From: "Crist J. Clark" <cjc@FreeBSD.ORG> To: Edwin Groothuis <edwin@mavetju.org> Cc: Alex Ranaldi <axr7993@rit.edu>, questions@FreeBSD.ORG Subject: Re: unlinking open files Message-ID: <20020126015225.J14394@blossom.cjclark.org> In-Reply-To: <20020126132452.M823@k7.mavetju.org>; from edwin@mavetju.org on Sat, Jan 26, 2002 at 01:24:52PM %2B1100 References: <0GQI0028YVW8VR@osfmail.rit.edu> <20020126132452.M823@k7.mavetju.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 26, 2002 at 01:24:52PM +1100, Edwin Groothuis wrote: [snip] > To see which applications are using a file you want to remove, > install sysutils/lsof from the ports-collection: > [~] edwin@k7>lsof -u edwin | grep access > httpd-php 2778 edwin 19w VREG 116,131077 3585930 381204 /usr/home/www/log/access_log Or just use fstat(1) which is part of FreeBSD. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.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?20020126015225.J14394>