showmount(8) CLIX showmount(8)
NAME
showmount - Shows all remote mounts
SYNOPSIS
/etc/showmount [-a] [-d] [-e] [host]
FLAGS
-d Lists directories remotely mounted by clients.
-a Displays all remote mounts in the format
hostname:directory
where hostname is the name of the client and directory is the root of
the mounted file system.
-e Displays the list of exported file systems.
DESCRIPTION
The showmount command lists all clients that have remotely mounted a file
system from host. This information is maintained by the mountd server on
host and is saved across crashes in the file /etc/rmtab. The default
value for host is the nodename returned by uname(1).
EXAMPLES
1. To display the names of all remotely mounted directories:
showmount -a
2. To list all directories mounted by NFS clients from server xxx:
showmount -d xxx
3. To list all file systems exported by server xxx:
showmount -e xxx
FILES
/etc/rmtab Database of mounted directories and clients.
DIAGNOSTICS
2/94 - Intergraph Corporation 1
showmount(8) CLIX showmount(8)
showmount: gethostname
No hostname has been set for this node. (The hostname is normally
set during system initialization by the /etc/nfs startup script).
Various messages indicating RPC problems also exist.
EXIT VALUES
The command exits with a 0 if successful. If unsuccessful, the command
exits with a 1.
RELATED INFORMATION
Commands: mountd(8)
Files: rmtab(4), exports(4)
2 Intergraph Corporation - 2/94