|
|
1.1 root 1: .\" $Id: amq.8,v 5.2 90/06/23 22:21:16 jsp Rel $
2: .\" Copyright (c) 1990 Jan-Simon Pendry
3: .\" Copyright (c) 1990 Imperial College of Science, Technology & Medicine
4: .\" Copyright (c) 1990 The Regents of the University of California.
5: .\" All rights reserved.
6: .\"
7: .\" This code is derived from software contributed to Berkeley by
8: .\" Jan-Simon Pendry at Imperial College, London.
9: .\"
10: .\" Redistribution and use in source and binary forms are permitted provided
11: .\" that: (1) source distributions retain this entire copyright notice and
12: .\" comment, and (2) distributions including binaries display the following
13: .\" acknowledgement: ``This product includes software developed by the
14: .\" University of California, Berkeley and its contributors'' in the
15: .\" documentation or other materials provided with the distribution and in
16: .\" all advertising materials mentioning features or use of this software.
17: .\" Neither the name of the University nor the names of its contributors may
18: .\" be used to endorse or promote products derived from this software without
19: .\" specific prior written permission.
20: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
21: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
22: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
23: .\"
24: .\" @(#)amq.8 5.1 (Berkeley) 6/29/90
25: .\"
26: .TH AMQ 8 "June 29, 1990"
27: .SH NAME
28: amq \- automounter query tool
29: .SH SYNOPSIS
30: .B amq
31: [
32: .BI \-h " hostname"
33: ] [
34: .B \-f
35: ] [
36: .B \-m
37: ] [
38: .B \-s
39: ] [
40: .B \-u
41: ]
42: [
43: .I directory
44: ] .\|.\|.
45: .SH DESCRIPTION
46: .B Amq
47: provides a simple way of determining the current state of
48: .B amd
49: program.
50: Communication is by
51: .SM RPC.
52: Three modes of operation are supported by the current protocol.
53: By default a list of mount points and auto-mounted filesystems
54: is output.
55: An alternative host can be specified using the
56: .I \-h
57: option.
58: .LP
59: If directory names are given, as output by default,
60: then per-filesystem information is displayed.
61: .SH OPTIONS
62: The
63: .I \-h
64: option specifies an alternate host to query.
65: By default the local host is used. In an
66: .SM HP-UX
67: cluster, the root server is queried by default, since
68: that is the system on which the automounter is normally run.
69: .LP
70: The
71: .I \-f
72: option asks the automounter to flush the internal
73: mount map cache.
74: The
75: .I \-m
76: option asks the automounter to provide a list of mounted filesystems,
77: including the number of references to each filesystem and any error
78: which occured while mounting.
79: The
80: .I \-s
81: option asks the automounter to provide system-wide mount statistics.
82: .LP
83: The
84: .I \-u
85: option asks the automounter to unmount the named filesystems
86: instead of providing information about them. Unmounts are requested,
87: not forced. They merely cause the mounted filesystem to timeout,
88: which will be picked up by
89: .BR amd 's
90: main scheduler thus causing the normal timeout action to be taken.
91: .SH FILES
92: .PD 0
93: .TP 20
94: .B amq.x
95: .SM RPC
96: protocol description.
97: .SH CAVEATS
98: .B Amq
99: uses a Sun registered
100: .SM RPC
101: program number (300019 decimal) which may not
102: be in the /etc/rpc database.
103: .SH "SEE ALSO"
104: .BR amd (8)
105: .SH AUTHOR
106: Jan-Simon Pendry <[email protected]>, Department of Computing, Imperial College, London, UK.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.