1 .TH MRTEST 8 "25 Jan 1988" "Project Athena"
4 mrtest \- perform Moira operations manually
9 allows one to perform by hand all operations allowed in the Moira
10 protocol. There are no command line options, as commands are given to
11 a prompt within the program. Control operations are:
14 make a network connection to the Moira server. The server
15 specification is optional. If present, it is of the form
16 hostname:portname. The portname is optional as well, and if specified
19 If no server is specified, then the server will be found from the
20 MOIRASERVER environment variable, the "moira" sloc entry in hesiod, or
21 the compiled in default, in that order.
24 break the network connection to the Moira server.
27 show the name of the host the client is connected to.
30 specify use of version 2.0 of the protocol.
33 specify use of version 1.0 of the protocol.
35 .B script inputfile [outputfile]
40 is specified, output will be redirected there while
41 commands are read from
43 The script file may contain comments consisting of lines starting
44 with a percent sign. Script files may also recursively perform other
45 script commands up to 8 scripts deep.
55 Moira protocol operations include:
58 does "no operation" to the server, just making sure the server is
64 tickets to the server to authenticate the user.
67 gets the current message of the day from the server.
69 .B query query_handle [query arguments ...]
70 performs a query operation on the server. All of the real work is
71 done in queries. There are over 100 queries, each of which requires
72 different arguments. the arguments should be placed on the line
73 following the name of the query, separated by whitespace.
75 .B access query_handle [query arguments ...]
76 performs an authorization check on a query without actually executing
77 the query. The arguments are the same as those in the
79 command described above.
82 instructs the server to trigger a DCM update immediately.
84 Due to problems in the ss library, standard input must be a terminal.
85 If it is a file, only the first line will be read. However, the
86 script command allows one to read input from a file.
88 The Project Athena Technical Plan section on Moira for a list of queries
89 and their arguments, and a description of the protocol this