From owner-freebsd-questions Mon Mar 22 16:57:36 1999 Delivered-To: freebsd-questions@freebsd.org Received: from jaguar.ir.miami.edu (jaguar.ir.miami.edu [129.171.32.10]) by hub.freebsd.org (Postfix) with ESMTP id 6F15415207 for ; Mon, 22 Mar 1999 16:39:46 -0800 (PST) (envelope-from marcus@miami.edu) Received: from jaguar.ir.miami.edu ("port 3024"@jaguar.ir.miami.edu [129.171.32.10]) by jaguar.ir.miami.edu (PMDF V5.2-29 #30976) with ESMTP id <0F9000CETV5JWN@jaguar.ir.miami.edu> for freebsd-questions@FreeBSD.ORG; Mon, 22 Mar 1999 19:39:19 -0500 (EST) Date: Mon, 22 Mar 1999 19:39:19 -0500 (EST) From: "Joe \"Marcus\" Clarke" Subject: Re: BSD equivalent of Linux 'fuser' command In-reply-to: <87ogllhwnt.fsf@titine.fr.eu.org> To: Eric Jacoboni Cc: freebsd-questions@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=ISO-8859-1 Content-transfer-encoding: QUOTED-PRINTABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I like lsof. It's in the ports/packages collection. It's platform-independent, and a must for a good system administrator. fstat is installed by default, and can be used for this, though. Joe Clarke On Tue, 23 Mar 1999, Eric Jacoboni wrote: > Hi, >=20 > Is there a BSD equivalent of the Linux 'fuser' command ? >=20 > =3D-=3D-=3D-=3D-=3D-=3D > FUSER(1) >=20 > NAME > fuser - identify processes using files or sockets >=20 > =3D-=3D-=3D-=3D-=3D-=3D >=20 > For example, to know who is using the CD : >=20 > $ fuser -av /mnt/cdrom >=20 > I've read some lines about lsof and try it under Linux (i've not yet > installed it from the FBSD ports) but nothing happens with this command > under my linux box, so i can't compare :( >=20 > Thanks in advance, > --=20 > --------------------------------------------------- > =C9ric Jacoboni =AB No sport! =BB (W. Churchill) > --------------------------------------------------- >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message >=20 >=20 >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message