HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)
s
showmount(1M) showmount(1M)
NAME
showmount - show all remote mounts
SYNOPSIS
/usr/sbin/showmount
[-a][-d][
-e][host ]
DESCRIPTION
showmount lists all clients that have remotely mounted a filesystem from host. This information is
maintained by the
mountd server on host (see mountd(1M)). The default value for host is the value
returned by
hostname (see hostname (1)).
Options
-a Print all remote mounts in the format
name
:directory
where hostname is the name of the client, and directory is the directory or root of the file system
that was mounted.
-d List directories that have been remotely mounted by clients.
-e Print the list of exported file systems.
WARNINGS
If a client crashes, executing
showmount on the server will show that the client still has a file system
mounted. In other words, the client’s entry is not removed from
/etc/rmtab until the client reboots
and executes:
umount -a
Also, if a client mounts the same remote directory twice, only one entry appears in /etc/rmtab. Doing
a
umount of one of these directories removes the single entry and showmount no longer indicates that
the remote directory is mounted.
AUTHOR
showmount was developed by Sun Microsystems, Inc.
SEE ALSO
hostname(1), exportfs(1M), mountd(1M), exports(4), rmtab(4).
Section 1M−−760 Hewlett-Packard Company − 1 − HP-UX 11i Version 2: August 2003