[ Previous | Next | Table of Contents | Index | Library Home |
Legal |
Search ]
Commands Reference, Volume 5
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.
|
- To display a list of all
remote directories mounted by a host, enter:
/usr/bin/showmount -a zeus
In this example, the showmount command produces a list of
all of the remote directories mounted by the clients on the host machine named
zeus.
- To display a list of only
the directories mounted by a client on the host, enter:
/usr/bin/showmount -d athena
In this example, the showmount command produces a list of
all remote directories mounted by the client machines on the host named
athena.
- To print a list of all
directories exported from a machine, enter:
/usr/bin/showmount -e zeus
In 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.
|
/etc/xtab
| 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 5L Version 5.1 System Management
Guide: Communications and Networks.
[ Previous | Next | Table of Contents | Index |
Library Home |
Legal |
Search ]