Google
  Web www.spinics.net

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

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


Thomas Cameron wrote:
Skunk Worx wrote:
Is there a way, on a server, to discover how many clients are currently attached to a NFS file share?

I'd like to be able to see a list of the clients that have "my" NFS share mounted.

It's my understanding /usr/sbin/exportfs gives a list but it is not reliable as it depends on clients un-mounting the share properly.

I suppose the nature of NFS makes it impossible to maintain/calculate an accurate client list, but I thought I'd ask anyway.

Have a look at /var/lib/nfs/rmtab and other files in /var/lib/nfs/

/usr/sbin/showmount will give you a list of IP's connected.

DESCRIPTION
showmount queries the mount daemon on a remote host for information
about the state of the NFS server on that machine. With no options
showmount lists the set of clients who are mounting from that host.
The output from showmount is designed to appear as though it were pro-
cessed through ‘‘sort -u’’.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Older Fedora Users Mail]     [Home]     [Fedora Announce]     [Fedora News]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [iPod Nano]     [ATA RAID]     [Fedora Bible]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Announce]     [SSH]     [Find Someone]     [Fedora Package Review]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [ET Management Tools]     [Yum Users]     [Tux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]     [Fedora 8 and Red Hat Enterprise Linux Bible]

Add to Google Powered by Linux

Google PageRank Checking tool