gnome 2.16.1, hald, and openfiles...

Joe Marcus Clarke marcus at FreeBSD.org
Fri Oct 27 18:10:20 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kevin Oberman wrote:
>> Date: Fri, 27 Oct 2006 13:58:11 -0400
>> From: Joe Marcus Clarke <marcus at FreeBSD.org>
>> Sender: owner-freebsd-gnome at 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 at 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-----


More information about the freebsd-gnome mailing list