[nycbug-talk] What client connected to nfsd?

Marc Spitzer mspitzer at gmail.com
Fri Apr 14 16:52:32 EDT 2006


On 4/14/06, Francisco Reyes <lists at stringsutils.com> wrote:
> Marc Spitzer writes:
>
> > would sockstat do, freebsd yes not sure about the rest.
>
> Unfortunately no. All it will tell you is what machines are connected.
> It won't help determinining which particular machine is connected to a
> particular nfsd.
>

yes it will, if you run it on the server you will get the pid of the
server proceess connected to client ip:port.  I get the following
fields:
user
command
pid
fd
proto
local address
foreign address

so you have pid and remote ip on one line, what is not to love?

marc


--
"We trained very hard, but it seemed that every time we were beginning to
form into teams we would be reorganized. I was to learn later in life that
we tend to meet any new situation by reorganizing, and a wonderful method it
can be for creating the illusion of progress, while producing confusion,
inefficiency and demoralization."
-Gaius Petronius, 1st Century AD




More information about the talk mailing list