showmount man page

showmount — show mount information for an NFS server

Synopsis

showmount [ -adehv ] [ --all ] [ --directories ] [ --exports ] [ --help ] [ --version ] [ host ]

Description

showmount queries the mount daemon on a remote host for information about the state of the NFS server on that machine.  With no options showmount lists the set of clients who are mounting from that host. The output from showmount is designed to appear as though it were processed through “sort -u”.

Options

-a or --all

List both the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable. See the notes on rmtab in rpc.mountd(8).

-d or --directories

List only the directories mounted by some client.

-e or --exports

Show the NFS server's export list.

-h or --help

Provide a short help summary.

-v or --version

Report the current version number of the program.

--no-headers

Suppress the descriptive headings from the output.

See Also

rpc.mountd(8), rpc.nfsd(8)

Bugs

The completeness and accuracy of the information that showmount displays varies according to the NFS server's implementation.

Because showmount sorts and uniqs the output, it is impossible to determine from the output whether a client is mounting the same directory more than once.

Author

Rick Sladkey <jrs@world.std.com>

Referenced By

exports(5), fixmount(8), mountd(8), showmount_selinux(8).

6 October 1993