Use the showmount command to display the following information:
All clients that have remotely mounted file systems that are shared from an NFS server
Only the file systems that are mounted by clients
Shared file systems with client access information
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 example 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 example lists the directories that have been mounted:
# showmount -d bee /export/share/man /usr/src
The following example lists file systems that have been shared:
# showmount -e bee /usr/src (everyone) /export/share/man eng
The nfs_props/showmount_info property of the /network/nfs/server:default service controls how much information is displayed to a client by the showmount command. The default value is full. If this value is set to none then the client will see only those remote file systems on the server that the client can mount. No information about other clients is displayed. See Example 3–3 for an example of how to change this property.