how to count nfs clients attached to my server?

Patrick O'Callaghan pocallaghan at gmail.com
Sun Nov 9 23:41:06 UTC 2008


On Sun, 2008-11-09 at 21:16 +0000, Timothy Murphy wrote:
> Patrick O'Callaghan wrote:
> 
> >> > /usr/sbin/showmount will give you a list of IP's connected.
> >> 
> >> I had never heard of this program, so I ran it and got
> >> ----------------------------------------------
> >> [tim at carrie ~]$ sudo showmount -a
> >> showmount: RPC: Program not registered
> >> ----------------------------------------------
> >> How is one meant to "register" the program?
> > 
> > It's been years since I knew this stuff but IIRC the "unregistered"
> > program is either the nfs daemon (nfsd) or the mount daemon (mountd). In
> > this context "unregistered" just means it isn't running. Check
> > serviceconf.
> 
> Thanks.
> I misunderstood the purpose of the program.
> I see now that one has to run it on a machine running nfsd.

Not so. You can run it from anywhere, but you have to say which server
you're interested in. From the man page:  "showmount  queries the mount
daemon on a remote host for information about the state of the NFS
server on that machine".

poc




More information about the fedora-list mailing list