Displays a list of all clients that have remotely mounted file systems.
/usr/bin/showmount [ -a ] [ -d ] [ -e ] [ Host ]
The showmount command displays a list of all clients that have remotely mounted a file system from a specified machine in the Host parameter. This information is maintained by the mountd daemon on the Host parameter. This information is saved in the /etc/rmtab file in case the server crashes. The default value for the Host parameter is the value returned by the hostname command.
Note: If a client crashes, its entry will not be removed from the list until the client reboots and starts the umount -a command.
|-a||Prints all remote mounts in the format HostName:Directory, in which HostName is the name of the client and Directory is a directory pathname that has been remotely mounted.|
|-d||Lists only directories that have been remotely mounted by clients.|
|-e||Prints the list of exported directories.|
/usr/bin/showmount -a zeusIn this example, the showmount command produces a list of all of the remote directories mounted by the clients on the host machine named zeus .
/usr/bin/showmount -d athenaIn this example, the showmount command produces a list of all remote directories mounted by the client machines on the host named athena.
/usr/bin/showmount -e zeusIn this example, the showmount command produces a list of all remote directories exported by the host machine named zeus.
|/etc/rmtab||Contains information about the current state of all exported directories.|
|Lists currently exported directories.|
The hostname command, umount command.
The mountd daemon.
List of NFS Commands.
Network File System (NFS) Overview for System Management, NFS Problem Determination in AIX Version 4.3 System Management Guide: Communications and Networks.