automounter query tool
amq provides a simple way of determining
the current state of the
amd(8) 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
If directory names are given, as output by default, then per-filesystem information is displayed.
The options are as follows:
- Request automounter to flush the internal caches.
- Query alternate host hostname. 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.
- Request the automounter to provide a list of mounted filesystems, including the number of references to each filesystem and any error which occurred while mounting.
- Request the automounter to provide system-wide mount statistics.
- Request 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(8)'s main scheduler thus causing the normal timeout action to be taken.
- Request the automounter to provide version information. This is a subset
of the information provided by
- RPC protocol description
Jan-Simon Pendry <firstname.lastname@example.org>, Department of Computing, Imperial College, London, UK.
amq uses a Sun registered RPC program
number (300019 decimal) which may not be in the