source: trunk/third/moira/man/mrtest.8 @ 24319

Revision 24319, 2.4 KB checked in by broder, 14 years ago (diff)
New Moira snapshot from SVN.
Line 
1.TH MRTEST 8 "25 Jan 1988" "Project Athena"
2\" RCSID: $HeadURL: svn+ssh://svn.mit.edu/moira/trunk/moira/man/mrtest.8 $ $Id: mrtest.8 3956 2010-01-05 20:56:56Z zacheiss $
3.SH NAME
4mrtest \- perform Moira operations manually
5.SH SYNOPSIS
6.B mrtest
7.SH DESCRIPTION
8.I mrtest
9allows one to perform by hand all operations allowed in the Moira
10protocol.  There are no command line options, as commands are given to
11a prompt within the program.  Control operations are:
12.TP
13.B connect [server]
14make a network connection to the Moira server.  The server
15specification is optional.  If present, it is of the form
16hostname:portname.  The portname is optional as well, and if specified
17will be looked up in
18.B /etc/services.
19If no server is specified, then the server will be found from the
20MOIRASERVER environment variable, the "moira" sloc entry in hesiod, or
21the compiled in default, in that order.
22.TP
23.B disconnect
24break the network connection to the Moira server.
25.TP
26.B host
27show the name of the host the client is connected to.
28.TP
29.B script inputfile [outputfile]
30read commands from
31.I inputfile.
32If
33.I outputfile
34is specified, output will be redirected there while
35commands are read from
36.I inputfile.
37The script file may contain comments consisting of lines starting
38with a percent sign.  Script files may also recursively perform other
39script commands up to 8 scripts deep.
40.TP
41.B list_requests
42lists all of the
43.I mrtest
44commands.
45.TP
46.B quit
47exits the program.
48.PP
49Moira protocol operations include:
50.TP
51.B noop
52does "no operation" to the server, just making sure the server is
53still there.
54.TP
55.B auth
56sends
57.I Kerberos
58tickets to the server to authenticate the user.
59.TP
60.B motd
61gets the current message of the day from the server.
62.TP
63.B query query_handle [query arguments ...]
64performs a query operation on the server.  All of the real work is
65done in queries.  There are over 100 queries, each of which requires
66different arguments.  the arguments should be placed on the line
67following the name of the query, separated by whitespace.
68.TP
69.B access query_handle [query arguments ...]
70performs an authorization check on a query without actually executing
71the query.  The arguments are the same as those in the
72.B query
73command described above.
74.SH SEE ALSO
75The Project Athena Technical Plan section on Moira for a list of queries
76and their arguments, and a description of the protocol this
77implements.
Note: See TracBrowser for help on using the repository browser.