AMQ
Section: Maintenance Commands (8)
Updated: 25 April 1989
Index
Return to Main Contents
NAME
amq - automounter query tool
SYNOPSIS
amq
[
-h hostname
] [
-f
] [
-m
] [
-s
] [
-u
]
[
directory
] ...
DESCRIPTION
Amq
provides a simple way of determining the current state of
amd
program.
Communication is by
RPC.
Three modes of operation are supported by the current protocol.
By default a list of mount points and auto-mounted filesystems
is output.
An alternative host can be specified using the
-h
option.
If directory names are given, as output by default,
then per-filesystem information is displayed.
OPTIONS
The
-h
option specifies an alternate host to query.
By default the local host is used. In an
HP-UX
cluster, the root server is queried by default, since
that is the system on which the automounter is normally run.
The
-f option asks the automounter to flush the internal
mount map cache.
The
-m
option asks the automounter to provide a list of mounted filesystems,
including the number of references to each filesystem and any error
which occured while mounting.
The
-s
option asks the automounter to provide system-wide mount statistics.
The
-u
option asks the automounter to unmount the named filesystems
instead of providing information about them. Unmounts are requested,
not forced. They merely cause the mounted filesystem to timeout,
which will be picked up by
amd's
main scheduler thus causing the normal timeout action to be taken.
FILES
- amq.x
-
RPC
protocol description.
CAVEATS
Amq
uses a Sun registered
RPC
program number (300019 decimal) which may not
be in the /etc/rpc database.
SEE ALSO
amd(8)
AUTHOR
Jan-Simon Pendry <jsp@doc.ic.ac.uk>
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- FILES
-
- CAVEATS
-
- SEE ALSO
-
- AUTHOR
-
This document was created by
man2html,
using the manual pages.
Time: 21:50:25 GMT, February 02, 2023