[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: how to count nfs clients attached to my server?



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]