xref: /illumos-gate/usr/src/man/man8/showmount.8 (revision 9b9d39d2a32ff806d2431dbcc50968ef1e6d46b2)
te
Copyright (c) 1997, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
SHOWMOUNT 8 "Oct 26, 2004"
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.

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

SEE ALSO

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

BUGS

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