Deleted Added
full compact
amq.8 (81622) amq.8 (107788)
1.\"
2.\" Copyright (c) 1997-1999 Erez Zadok
3.\" Copyright (c) 1990 Jan-Simon Pendry
4.\" Copyright (c) 1990 Imperial College of Science, Technology & Medicine
5.\" Copyright (c) 1990 The Regents of the University of California.
6.\" All rights reserved.
7.\"
8.\" This code is derived from software contributed to Berkeley by

--- 25 unchanged lines hidden (view full) ---

34.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
35.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
36.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37.\" SUCH DAMAGE.
38.\"
39.\" %W% (Berkeley) %G%
40.\"
41.\" $Id: amq.8,v 1.2 1999/01/10 21:53:58 ezk Exp $
1.\"
2.\" Copyright (c) 1997-1999 Erez Zadok
3.\" Copyright (c) 1990 Jan-Simon Pendry
4.\" Copyright (c) 1990 Imperial College of Science, Technology & Medicine
5.\" Copyright (c) 1990 The Regents of the University of California.
6.\" All rights reserved.
7.\"
8.\" This code is derived from software contributed to Berkeley by

--- 25 unchanged lines hidden (view full) ---

34.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
35.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
36.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37.\" SUCH DAMAGE.
38.\"
39.\" %W% (Berkeley) %G%
40.\"
41.\" $Id: amq.8,v 1.2 1999/01/10 21:53:58 ezk Exp $
42.\" $FreeBSD: head/contrib/amd/amq/amq.8 81622 2001-08-14 10:01:54Z ru $
42.\" $FreeBSD: head/contrib/amd/amq/amq.8 107788 2002-12-12 17:26:04Z ru $
43.\"
44.Dd March 16, 1991
45.Dt AMQ 8
46.Os
47.Sh NAME
48.Nm amq
49.Nd automounter query tool
50.Sh SYNOPSIS

--- 10 unchanged lines hidden (view full) ---

61.Sh DESCRIPTION
62.Nm Amq
63provides a simple way of determining the current state of the
64.Xr amd 8
65program.
66Communication is by
67.Tn RPC .
68Three modes of operation are supported by the current protocol.
43.\"
44.Dd March 16, 1991
45.Dt AMQ 8
46.Os
47.Sh NAME
48.Nm amq
49.Nd automounter query tool
50.Sh SYNOPSIS

--- 10 unchanged lines hidden (view full) ---

61.Sh DESCRIPTION
62.Nm Amq
63provides a simple way of determining the current state of the
64.Xr amd 8
65program.
66Communication is by
67.Tn RPC .
68Three modes of operation are supported by the current protocol.
69By default a list of mount points and auto-mounted filesystems
69By default a list of mount points and auto-mounted file systems
70is output.
71An alternative host can be specified using the
72.Fl h
73option.
74.Pp
75If directory names are given, as output by default,
70is output.
71An alternative host can be specified using the
72.Fl h
73option.
74.Pp
75If directory names are given, as output by default,
76then per-filesystem information is displayed.
76then per file system information is displayed.
77.Sh OPTIONS
78.Bl -tag -width Ds
79.It Fl f
80Request automounter to flush the internal caches.
81.It Fl h Ar hostname
82Query alternate host
83.Ar hostname .
84By default the local host is used. In an

--- 7 unchanged lines hidden (view full) ---

92For security reasons, this must be the same log file which
93.Nm amd
94used when started. This option is therefore only useful to
95refresh
96.Nm amd Ns \'s
97open file handle on the log file, so that it can be rotated and compressed via
98daily cron jobs.
99.It Fl m
77.Sh OPTIONS
78.Bl -tag -width Ds
79.It Fl f
80Request automounter to flush the internal caches.
81.It Fl h Ar hostname
82Query alternate host
83.Ar hostname .
84By default the local host is used. In an

--- 7 unchanged lines hidden (view full) ---

92For security reasons, this must be the same log file which
93.Nm amd
94used when started. This option is therefore only useful to
95refresh
96.Nm amd Ns \'s
97open file handle on the log file, so that it can be rotated and compressed via
98daily cron jobs.
99.It Fl m
100Request the automounter to provide a list of mounted filesystems,
101including the number of references to each filesystem and any error
100Request the automounter to provide a list of mounted file systems,
101including the number of references to each file system and any error
102which occurred while mounting.
103.It Fl p
104Return the process ID of the remote or locally running
105.Nm amd .
106Useful when you need to send a signal to the local
107.Nm amd
108process, and would rather not have to search through the process table. This
109option is used in the
110.Pa ctl-amd
111script.
112.It Fl s
113Request the automounter to provide system-wide mount statistics.
114.It Fl u
102which occurred while mounting.
103.It Fl p
104Return the process ID of the remote or locally running
105.Nm amd .
106Useful when you need to send a signal to the local
107.Nm amd
108process, and would rather not have to search through the process table. This
109option is used in the
110.Pa ctl-amd
111script.
112.It Fl s
113Request the automounter to provide system-wide mount statistics.
114.It Fl u
115Request the automounter to unmount the named filesystems
115Request the automounter to unmount the named file systems
116instead of providing information about them. Unmounts are requested,
116instead of providing information about them. Unmounts are requested,
117not forced. They merely cause the mounted filesystem to timeout,
117not forced. They merely cause the mounted file system to timeout,
118which will be picked up by
119.Nm amd Ns \'s
120main scheduler thus causing the normal timeout action to be taken.
121.It Fl v
122Request the automounter to provide version information. This is a subset
123of the information provided by
124.Nm amd Ns \'s Fl v
125option.

--- 89 unchanged lines hidden ---
118which will be picked up by
119.Nm amd Ns \'s
120main scheduler thus causing the normal timeout action to be taken.
121.It Fl v
122Request the automounter to provide version information. This is a subset
123of the information provided by
124.Nm amd Ns \'s Fl v
125option.

--- 89 unchanged lines hidden ---