print ip of connection clients - NFS

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....

+ Reply to Thread
Results 1 to 3 of 3

Thread: print ip of connection clients

  1. print ip of connection clients

    How to print ip of the connected clients from nfs server. i use nfsstat
    but no help, it is only a statistics.


  2. Re: print ip of connection 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.



    netstat -a will display tcp connections. Those with port 2049 as the
    destination
    address are NFS clients.


  3. Re: print ip of connection 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.


+ Reply to Thread