francism501@gmail.com wrote:
> How to print ip of the connected clients from nfs server. i use nfsstat
> but no help, it is only a statistics.
netstat -a will display tcp connections. Those with port 2049 as the
destination
address are NFS clients.
This is a discussion on print ip of connection clients - NFS ; How to print ip of the connected clients from nfs server. i use nfsstat but no help, it is only a statistics....
How to print ip of the connected clients from nfs server. i use nfsstat
but no help, it is only a statistics.
francism501@gmail.com wrote:
> How to print ip of the connected clients from nfs server. i use nfsstat
> but no help, it is only a statistics.
netstat -a will display tcp connections. Those with port 2049 as the
destination
address are NFS clients.
francism501@gmail.com wrote:
> How to print ip of the connected clients from nfs server. i use nfsstat
> but no help, it is only a statistics.
Strictly speaking, it's not meaningful to talk about "connected
clients". Firstly, there are clients who use UDP. Secondly, the TCP
clients don't have to be connected when they're idle. They
automatically re-connect the the server when they need to.
As the previous reply suggests, you can try netstat. But that'll only
give you TCP clients who are currently (or were very recently) active.
You can try "showmount". But that has its own sets of problems. What
the mountd considers as clients might have already umounted.