SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

MAN page from Mandriva 2009 am-utils-6.1.5-5.1mdv2009.0.i586.rpm

AMQ

Section: Maintenance Commands (8)
Updated: 25 April 1989
Index 

NAME

amq - automounter query tool 

SYNOPSIS

amq[-fmpsvwHTU] [-h hostname] [-l log_file] [-x log_options] [-D debug_options] [-P program_number] [[-u]directory ...] 

DESCRIPTION

Amqprovides a simple way of determining the current state ofamdprogram.Communication is byRPC.Three modes of operation are supported by the current protocol. By defaulta list of mount points and auto-mounted filesystems is output. Analternative host can be specified using the-hoption.

Ifdirectorynames are given, as output by default, then per-filesysteminformation is displayed. 

OPTIONS

-f
Ask the automounter to flush the internal caches and reload all the maps.

-h hostname
Specify an alternate host to query. By default the local host is used. InanHP-UXcluster, the root server is queried by default, since that is the system onwhich the automounter is normally run.

-l log_file
Tell amd to uselog_fileas the log file name. For security reasons, this must be the same log filewhich amd used when started. This option is therefore only useful torefresh amd's open file handle on the log file, so that it can be rotatedand compressed via daily cron jobs.

-m
Ask the automounter to provide a list of mounted filesystems, including thenumber of references to each filesystem and any error which occurred whilemounting.

-p
Return the process ID of the remote or locally running amd. Useful when youneed to send a signal to the local amd process, and would rather not have tosearch through the process table. This option is used in thectl-amdscript.

-s
Ask the automounter to provide system-wide mount statistics.

-u
Ask the automounter to unmount the filesystems named indirectoryinstead of providinginformation about them. Unmounts are requested, not forced. They merelycause the mounted filesystem to timeout, which will be picked up byamd'smain scheduler thus causing the normal timeout action to be taken.

-v
Ask the automounter for its version information. This is a subset of theinformation output byamd's-voption.

-w
Translate a full pathname as returned bygetpwd(3)into a shortAmdpathname that goes through its mount points. This option requires thatAmdis running.

-x log_options
Ask the automounter to use the logging options specified inlog_optionsfrom now on.

-D log_options
Ask the automounter to use the debugging options specified indebug_optionsfrom now on.

-H
Display short usage message.

-P program_number
Contact an alternate running amd that had registered itself on a differentRPCprogram_numberand apply all other operations to that instance of the automounter. This isuseful when you run multiple copies of amd, and need to manage eachone separately. If not specified, amq will use the default program numberfor amd, 300019. For security reasons, the only alternate program numbersamd can use range from 300019 to 300029, inclusive.

-T
Contactamdusing the TCP transport only. Normallyamqwill try TCP, and if that failed, will try UDP.

-U
Contactamdusing UDP (connectionless) transport only. Normallyamqwill try TCP, and if that failed, will try UDP.

 

FILES

amq.x
RPCprotocol description.

 

CAVEATS

Amquses a Sun registeredRPCprogram number (300019 decimal) which may notbe in the /etc/rpc database.

If the TCP wrappers library is available, and theuse_tcpwrappersglobalamd.confoption is set to ``yes'', thenamdwill verify that the host runningamqis authorized to connect. Theamdservice name must used in the/etc/hosts.allowand/etc/hosts.denyfiles. For example, to allow only localhost to connect toamd,add this line to/etc/hosts.allow:

amd: localhost

and this line to/etc/hosts.deny:

amd: ALL

 

SEE ALSO

amd(8),ctl-amd(8),amd.conf(5),hosts_access(5).

``am-utils''info(1)entry.

Linux NFS and Automounter Administrationby Erez Zadok, ISBN 0-7821-2739-8, (Sybex, 2001).

http://www.am-utils.org

Amd - The 4.4 BSD Automounter

 

AUTHORS

Jan-Simon Pendry <jspAATTdoc.ic.ac.uk>, Department of Computing, Imperial College, London, UK.Erez Zadok <ezkAATTcs.sunysb.edu>, Computer Science Department, Stony BrookUniversity, Stony Brook, New York, USA.Other authors and contributors to am-utils are listed in theAUTHORSfile distributed with am-utils.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
FILES
CAVEATS
SEE ALSO
AUTHORS

This document was created byman2html,using the manual pages.