Subject: Re: another question on NFS filehandles & sockets and stuff...
To: NetBSD Kernel Technical Discussion List <tech-kern@NetBSD.ORG>
From: Jon Lindgren <>
List: tech-kern
Date: 04/12/2000 16:17:07
On Wed, 12 Apr 2000, Greg A. Woods wrote:

> On a related note I was doing a final audit of one of my firewalls and I
> was just trying to verify that the un-named UDP sockets reported by
> 'netstat' were indeed owned by the NFS mounts I still had running on the
> machine.  Unfortunately 'fstat' doesn't mention these sockets (not even
> if the mount is via TCP, though of course in that case it's a heck of a
> lot easier to see what the socket's purpose is).
> How hard would it be to have 'fstat' report all of the files and sockets
> that the kernel has open?  Would anyone besides me find this helpful?

A shot in the dark, but does lsof help with this any?  I believe it's
available in pkgsrc.


 "Okay, who hit the scram switch on my coffee machine?"