This command displays one of the following:
All clients that have remotely mounted file systems that are shared from an NFS server
Only the file systems that are mounted by clients
The shared file systems with the client access information
The showmount command only shows NFS version 2 and version 3 exports. This command does not show NFS version 4 exports.
showmount [ -ade ] [ hostname ]
Prints a list of all the remote mounts. Each entry includes the client name and the directory.
Prints a list of the directories that are remotely mounted by clients.
Prints a list of the files that are shared or are exported.
Selects the NFS server to gather the information from.
The following command lists all clients and the local directories that the clients have mounted:
# showmount -a bee lilac:/export/share/man lilac:/usr/src rose:/usr/src tulip:/export/share/man
The following command lists the directories that have been mounted:
# showmount -d bee /export/share/man /usr/src
The following command lists file systems that have been shared:
# showmount -e bee /usr/src (everyone) /export/share/man eng