]> andersk Git - moira.git/blame_incremental - man/mrtest.8
fixed header again - tom
[moira.git] / man / mrtest.8
... / ...
CommitLineData
1.TH MRTEST 8 "25 Jan 1988" "Project Athena"
2\" RCSID: $Header$
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 new
30specify use of version 2.0 of the protocol.
31.TP
32.B old
33specify use of version 1.0 of the protocol.
34.TP
35.B script inputfile [outputfile]
36read commands from
37.I inputfile.
38If
39.I outputfile
40is specified, output will be redirected there while
41commands are read from
42.I inputfile.
43The script file may contain comments consisting of lines starting
44with a percent sign. Script files may also recursively perform other
45script commands up to 8 scripts deep.
46.TP
47.B list_requests
48lists all of the
49.I mrtest
50commands.
51.TP
52.B quit
53exits the program.
54.PP
55Moira protocol operations include:
56.TP
57.B noop
58does "no operation" to the server, just making sure the server is
59still there.
60.TP
61.B auth
62sends
63.I Kerberos
64tickets to the server to authenticate the user.
65.TP
66.B motd
67gets the current message of the day from the server.
68.TP
69.B query query_handle [query arguments ...]
70performs a query operation on the server. All of the real work is
71done in queries. There are over 100 queries, each of which requires
72different arguments. the arguments should be placed on the line
73following the name of the query, separated by whitespace.
74.TP
75.B access query_handle [query arguments ...]
76performs an authorization check on a query without actually executing
77the query. The arguments are the same as those in the
78.B query
79command described above.
80.TP
81.B dcm
82instructs the server to trigger a DCM update immediately.
83.SH BUGS
84Due to problems in the ss library, standard input must be a terminal.
85If it is a file, only the first line will be read. However, the
86script command allows one to read input from a file.
87.SH SEE ALSO
88The Project Athena Technical Plan section on Moira for a list of queries
89and their arguments, and a description of the protocol this
90implements.
This page took 0.033203 seconds and 5 git commands to generate.