| 1 |
.\" Copyright 1993 Rick Sladkey <[email protected]> |
| 2 |
.\" May be distributed under the GNU General Public License |
| 3 |
.TH SHOWMOUNT 8 "6 October 1993" |
| 4 |
.SH NAME |
| 5 |
showmount \- show mount information for an NFS server |
| 6 |
.SH SYNOPSIS |
| 7 |
.B showmount |
| 8 |
.B "[\ \-adehv\ ]" |
| 9 |
.B "[\ \-\-all\ ]" |
| 10 |
.B "[\ \-\-directories\ ]" |
| 11 |
.B "[\ \-\-exports\ ]" |
| 12 |
.B "[\ \-\-help\ ]" |
| 13 |
.B "[\ \-\-version\ ]" |
| 14 |
.B "[\ host\ ]" |
| 15 |
.SH DESCRIPTION |
| 16 |
.B showmount |
| 17 |
queries the mount daemon on a remote host for information about |
| 18 |
the state of the NFS server on that machine. With no options |
| 19 |
.B showmount |
| 20 |
lists the set of clients who are mounting from that host. |
| 21 |
The output from |
| 22 |
.B showmount |
| 23 |
is designed to |
| 24 |
appear as though it were processed through ``sort \-u''. |
| 25 |
.SH OPTIONS |
| 26 |
.TP |
| 27 |
.BR \-a " or " \-\-all |
| 28 |
List both the client hostname or IP address and mounted directory in |
| 29 |
host:dir format. This info should not be considered reliable. See the notes |
| 30 |
on rmtab in |
| 31 |
.BR rpc.mountd (8). |
| 32 |
.TP |
| 33 |
.BR \-d " or " \-\-directories |
| 34 |
List only the directories mounted by some client. |
| 35 |
.TP |
| 36 |
.BR \-e " or " \-\-exports |
| 37 |
Show the NFS server's export list. |
| 38 |
.TP |
| 39 |
.BR \-h " or " \-\-help |
| 40 |
Provide a short help summary. |
| 41 |
.TP |
| 42 |
.BR \-v " or " \-\-version |
| 43 |
Report the current version number of the program. |
| 44 |
.TP |
| 45 |
.B \-\-no\-headers |
| 46 |
Suppress the descriptive headings from the output. |
| 47 |
.SH "SEE ALSO" |
| 48 |
.BR rpc.mountd (8), |
| 49 |
.BR rpc.nfsd (8) |
| 50 |
.SH BUGS |
| 51 |
The completeness and accuracy of the information that |
| 52 |
.B showmount |
| 53 |
displays varies according to the NFS server's implementation. |
| 54 |
.P |
| 55 |
Because |
| 56 |
.B showmount |
| 57 |
sorts and uniqs the output, it is impossible to determine from |
| 58 |
the output whether a client is mounting the same directory more than once. |
| 59 |
.P |
| 60 |
.B showmount |
| 61 |
works by contacting the server's MNT service directly. NFSv4-only servers have |
| 62 |
no need to advertise their exported root filehandles via this method, and may |
| 63 |
not expose their MNT service to clients. |
| 64 |
.SH AUTHOR |
| 65 |
Rick Sladkey <[email protected]> |