Managing Network File Systems in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014

showmount Command

    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

Note -  The showmount command shows only NFS Version 2 and Version 3 exports. This command does not show NFS Version 4 exports.

The command syntax is as follows:

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.

If hostname is not specified, the local host is queried.

The following example lists all clients and the local directories that the clients have mounted:

# showmount -a bee

The following example lists the directories that have been mounted:

# showmount -d bee

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.