Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

showmount(8)

Name

showmount - show remote mounts

Synopsis

/usr/sbin/showmount [-ade] [hostname]

Description

showmount lists the clients that have remotely mounted a filesystem from host. This information is maintained by the mountd(8) server on host, and is saved across crashes in the file /etc/rmtab. The default value for host is the value returned by hostname(1).

The showmount command does not display the names of NFS Version 4 clients.


Note -  The mountd command might not show all information because of the showmount_info property. For more information, see the mountd(8) man page.

Options

–a

Print all remote mounts in the format:

hostname : directory

where hostname is the name of the client, and directory is the root of the file system that has been mounted.

–d

List directories that have been remotely mounted by clients.

–e

Print the list of shared file systems.

Files

/etc/rmtab

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/file-system/nfs

See Also

hostname(1), attributes(7), mountd(8)

Automatically Installing Oracle Solaris 11.4 Systems

Bugs

If a client crashes, its entry is removed from the list of remote mounts on the server.