drm/i915: Fix hangs on some broadwell machines
[dragonfly.git] / contrib / amd / amq / amq.8
... / ...
CommitLineData
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
9.\" Jan-Simon Pendry at Imperial College, London.
10.\"
11.\" Redistribution and use in source and binary forms, with or without
12.\" modification, are permitted provided that the following conditions
13.\" are met:
14.\" 1. Redistributions of source code must retain the above copyright
15.\" notice, this list of conditions and the following disclaimer.
16.\" 2. Redistributions in binary form must reproduce the above copyright
17.\" notice, this list of conditions and the following disclaimer in the
18.\" documentation and/or other materials provided with the distribution.
19.\" 3. All advertising materials mentioning features or use of this software
20.\" must display the following acknowledgment:
21.\" This product includes software developed by the University of
22.\" California, Berkeley and its contributors.
23.\" 4. Neither the name of the University nor the names of its contributors
24.\" may be used to endorse or promote products derived from this software
25.\" without specific prior written permission.
26.\"
27.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
28.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
30.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
31.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
33.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
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: src/contrib/amd/amq/amq.8,v 1.5.2.3 2001/08/16 10:53:40 ru Exp $
43.\" $DragonFly: src/contrib/amd/amq/amq.8,v 1.2 2003/06/17 04:23:57 dillon Exp $
44.\"
45.Dd March 16, 1991
46.Dt AMQ 8
47.Os
48.Sh NAME
49.Nm amq
50.Nd automounter query tool
51.Sh SYNOPSIS
52.Nm amq
53.Op Fl fmpsuvTU
54.Op Fl h Ar hostname
55.Op Fl l Ar log_file
56.Op Fl x Ar log_options
57.Op Fl D Ar debug_options
58.Op Fl M Ar mountmap_entry
59.Op Fl P Ar program_number
60.Op Ar directory
61.Ar ...
62.Sh DESCRIPTION
63.Nm Amq
64provides a simple way of determining the current state of the
65.Xr amd 8
66program.
67Communication is by
68.Tn RPC .
69Three modes of operation are supported by the current protocol.
70By default a list of mount points and auto-mounted filesystems
71is output.
72An alternative host can be specified using the
73.Fl h
74option.
75.Pp
76If directory names are given, as output by default,
77then per-filesystem information is displayed.
78.Sh OPTIONS
79.Bl -tag -width Ds
80.It Fl f
81Request automounter to flush the internal caches.
82.It Fl h Ar hostname
83Query alternate host
84.Ar hostname .
85By default the local host is used. In an
86.Tn HP-UX
87cluster, the root server is queried by default, since
88that is the system on which the automounter is normally run.
89.It Fl l Ar log_file
90Tell amd to use
91.Ar log_file
92as the log file name.
93For security reasons, this must be the same log file which
94.Nm amd
95used when started. This option is therefore only useful to
96refresh
97.Nm amd Ns \'s
98open file handle on the log file, so that it can be rotated and compressed via
99daily cron jobs.
100.It Fl m
101Request the automounter to provide a list of mounted filesystems,
102including the number of references to each filesystem and any error
103which occurred while mounting.
104.It Fl p
105Return the process ID of the remote or locally running
106.Nm amd .
107Useful when you need to send a signal to the local
108.Nm amd
109process, and would rather not have to search through the process table. This
110option is used in the
111.Pa ctl-amd
112script.
113.It Fl s
114Request the automounter to provide system-wide mount statistics.
115.It Fl u
116Request the automounter to unmount the named filesystems
117instead of providing information about them. Unmounts are requested,
118not forced. They merely cause the mounted filesystem to timeout,
119which will be picked up by
120.Nm amd Ns \'s
121main scheduler thus causing the normal timeout action to be taken.
122.It Fl v
123Request the automounter to provide version information. This is a subset
124of the information provided by
125.Nm amd Ns \'s Fl v
126option.
127.It Fl x Ar log_options
128Ask the automounter to use the logging options specified in
129.Ar log_options
130from now on.
131.It Fl D Ar log_options
132Ask the automounter to use the debugging options specified in
133.Ar debug_options
134from now on.
135.It Fl M
136Pass a mount map entry to
137.Nm amd
138and wait for it to be evaluated, possibly causing a mount.
139This option is highly insecure.
140By default,
141.Nm amd
142and
143.Nm amq
144do not support it.
145It is necessary to configure
146.Nm am-utils
147with
148.Ar --enable-amq-mount
149to enable this option.
150.It Fl P Ar program_number
151Contact an alternate running
152.Nm amd
153that had registered itself on a different RPC
154.Ar program_number
155and apply all other operations to that instance of the automounter.
156This is useful when running multiple copies of
157.Nm amd ,
158and need to manage each one separately.
159If not specified,
160.Nm amq
161will use the default program number for
162.Nm amd ,
163300019.
164For security reasons, the only alternate program numbers
165.Nm amd
166can use range from 300019 to 300029, inclusive.
167.It Fl T
168Contact
169.Nm amd
170using the TCP transport only.
171Normally
172.Nm amq
173will try TCP, and if that fails, will try UDP.
174.It Fl U
175Contact
176.Nm amd
177using UDP (connectionless) transport only.
178Normally
179.Nm amq
180will try TCP, and if that fails, will try UDP.
181.El
182.Sh FILES
183.Bl -tag -width amq.x -compact
184.It Pa amq.x
185.Tn RPC
186protocol description.
187.El
188.Sh CAVEATS
189.Nm Amq
190uses a Sun registered
191.Tn RPC
192program number (300019 decimal) which may not
193be in the
194.Pa /etc/rpc
195database.
196.Sh SEE ALSO
197.Xr amd.conf 5 ,
198.Xr amd 8
199.Sh AUTHORS
200.An Jan-Simon Pendry Aq jsp@doc.ic.ac.uk ,
201Department of Computing, Imperial College, London, UK.
202.Pp
203.An Erez Zadok Aq ezk@cs.columbia.edu ,
204Department of Computer Science, Columbia University, New York, USA.
205.Pp
206.An Other authors and contributors to
207.Nm am-utils
208are listed in the
209.Nm AUTHORS
210file distributed with
211.Nm am-utils .
212.Sh HISTORY
213.Nm Amq
214first appeared in
215.Bx 4.4 .