*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> amq (8)              



NAME    [Toc]    [Back]

     amq - automounter query tool

SYNOPSIS    [Toc]    [Back]

     amq [-f] [-h hostname] [-m] [-s] [-u] [-v] [directory] ...

DESCRIPTION    [Toc]    [Back]

     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 automounted
  filesystems  is output.  An alternative host can be
specified using
 the -h option.

     If directory names are given, as  output  by  default,  then
     information is displayed.

     The options are as follows:

     -f      Request automounter to flush the internal caches.

     -h hostname
             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

     -m      Request the automounter to provide a list of mounted
             including  the number of references to each filesystem and any error
 which occurred while mounting.

     -s      Request the automounter to provide system-wide mount

     -u        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
             which will be picked up by amd's main scheduler thus
causing the
             normal timeout action to be taken.

     -v       Request the automounter to provide version information.  This is
             a subset of the information provided by amd's -v option.

FILES    [Toc]    [Back]

     amq.x      RPC protocol description

SEE ALSO    [Toc]    [Back]


AUTHORS    [Toc]    [Back]

     Jan-Simon  Pendry  <jsp@doc.ic.ac.uk>, Department of Computing, Imperial
     College, London, UK.

CAVEATS    [Toc]    [Back]

     amq uses a Sun registered RPC program number  (300019  decimal) which may
     not be in the /etc/rpc database.

OpenBSD      3.6                          March      16,     1991
[ Back ]
 Similar pages
Name OS Title
pawd FreeBSD print automounter working directory
ripquery HP-UX query RIP gateways
TIFFquery IRIX query routines
CSSM_CL_CrlAbortQuery Tru64 Terminate a query (CDSA)
glXQueryContextInfoEXT Tru64 query context information
res_isourserver IRIX resolver query utilities
alpq IRIX query the alp STREAMS module
ntpq FreeBSD standard NTP query program
CL_CrlAbortQuery Tru64 Terminate a query (CDSA)
glxquerycontext IRIX query context information
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service