showmount(8nfs)
Name
showmount − show remotely-mounted file systems
Syntax
/usr/etc/showmount [ −a ] [ −d ] [ −e ] [ host ]
Description
The showmount command lists all of the NFS client machines that have remotely mounted a filesystem from the NFS server host . This information is maintained by the mountd() daemon on host, and is saved across crashes in the /etc/rmtab file. The default value for host is the value returned by hostname() or gethostname(.).
Options
−d List directories that have been remotely mounted by clients.
−a Print all remote mounts in the format:
hostname:directory
In this format, hostname is the name of the client, and directory is the directory that has been mounted.
−e Print the list of file systems exported by the NFS server, host.
Restrictions
If an NFS client crashes, showmount will incorrectly report that the client still has a file system mounted, until the crashed client reboots.