]> git.decadent.org.uk Git - nfs-utils.git/blob - utils/showmount/showmount.man
63342c77687a48d744242f3074cdd5457942fc24
[nfs-utils.git] / utils / showmount / showmount.man
1 .\" Copyright 1993 Rick Sladkey <jrs@world.std.com>
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 /usr/sbin/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 processesed through ``sort -u''.
25 .SH OPTIONS
26 .TP
27 .BR \-a " or " \-\-all
28 List both the client hostname and mounted directory in
29 host:dir format.
30 .TP
31 .BR \-d " or " \-\-directories
32 List only the directories mounted by some client.
33 .TP
34 .BR \-e " or " \-\-exports
35 Show the NFS server's export list.
36 .TP
37 .BR \-h " or " \-\-help
38 Provide a short help summary.
39 .TP
40 .BR \-v " or " \-\-version
41 Report the current version number of the program.
42 .TP
43 .B \-\-no\-headers
44 Suppress the descriptive headings from the output.
45 .SH "SEE ALSO"
46 .BR rpc.mountd (8),
47 .BR rpc.nfsd (8)
48 .SH BUGS
49 The completeness and accurary of the information that
50 .B showmount
51 displays varies according to the NFS server's implementation.
52 .P
53 Because
54 .B showmount
55 sorts and uniqs the output, it is impossible to determine from
56 the output whether a client is mounting the same directory more than once.
57 .SH AUTHOR
58 Rick Sladkey <jrs@world.std.com>