Date: Fri, 27 Oct 2006 14:10:43 -0400 From: Joe Marcus Clarke <marcus@FreeBSD.org> To: Kevin Oberman <oberman@es.net> Cc: racinej@mcmaster.ca, freebsd-gnome@FreeBSD.org Subject: Re: gnome 2.16.1, hald, and openfiles... Message-ID: <45424BA3.2080207@FreeBSD.org> In-Reply-To: <20061027180556.EC42D4504D@ptavv.es.net> References: <20061027180556.EC42D4504D@ptavv.es.net>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kevin Oberman wrote: >> Date: Fri, 27 Oct 2006 13:58:11 -0400 >> From: Joe Marcus Clarke <marcus@FreeBSD.org> >> Sender: owner-freebsd-gnome@freebsd.org >> >> Jeffrey Racine wrote: >>> Many thanks Joe. This is most helpful. >>> >>> Naive question... how do I check exactly which files are open? >> lsof is the best tool. > > Why not use fstat? It's in the base system while lsof is a port. (I will > agree that lsof does things fstat won't and is a nice tool to have > around.) Because fstat doesn't give you the full path to the open file unless the file is specified on the command line. Where as lsof -p <PID> will give you the name of the open file. Joe - -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFQkujb2iPiv4Uz4cRAvXtAJ9mqt4LS4NE9hExBJBk5BtvScguvwCfehqn ctU5U9TqWTzCfyMvVYgTXRA= =dfob -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45424BA3.2080207>