1995-08-24 09:18:33 +04:00
|
|
|
''' $Id: uurate.man,v 1.3 1995/08/24 05:19:23 jtc Exp $
|
1993-08-04 23:30:29 +04:00
|
|
|
.TH uurate 1
|
|
|
|
.SH NAME
|
|
|
|
uurate \- Report Taylor UUCP statistics
|
|
|
|
.SH SYNOPSIS
|
1994-10-25 01:17:41 +03:00
|
|
|
.BR uurate " [ " "\-acdefhipqtvx" " ] [ " "\-s "
|
1993-08-04 23:30:29 +04:00
|
|
|
.I host
|
1994-10-25 01:17:41 +03:00
|
|
|
.RI " ] [ " "\-I "
|
|
|
|
.I config
|
|
|
|
.RI " ][ " "logfile..." " ] "
|
1993-08-04 23:30:29 +04:00
|
|
|
.PP
|
|
|
|
or simply,
|
|
|
|
.PP
|
|
|
|
.B uurate
|
|
|
|
.PP
|
|
|
|
for a traffic summary report.
|
|
|
|
.SH DESCRIPTION
|
1994-10-25 01:17:41 +03:00
|
|
|
The
|
1993-08-04 23:30:29 +04:00
|
|
|
.I uurate
|
1994-10-25 01:17:41 +03:00
|
|
|
command provides tabular summary reports on the operation of the
|
1993-08-04 23:30:29 +04:00
|
|
|
Taylor UUCP system. Data is taken from the currently active log
|
1994-10-25 01:17:41 +03:00
|
|
|
files, standard input, or from a list of log files given on the
|
|
|
|
command line. Output is in the form of tabular reports summarizing
|
1993-08-04 23:30:29 +04:00
|
|
|
call, file transfer, and command execution
|
|
|
|
.RI "(" "uuxqt" ")"
|
|
|
|
activity.
|
|
|
|
.PP
|
1994-10-25 01:17:41 +03:00
|
|
|
The log and stats files given to
|
1993-08-04 23:30:29 +04:00
|
|
|
.I uurate
|
1994-10-25 01:17:41 +03:00
|
|
|
must be in the ``Taylor'' or ``V2'' format. Also, note that call and file
|
|
|
|
transfer activities are logged in separate files, nominally called
|
1993-08-04 23:30:29 +04:00
|
|
|
.I Log
|
|
|
|
and
|
|
|
|
.I Stats,
|
|
|
|
respectively. For reports to be meaningful, the
|
|
|
|
.I Log
|
|
|
|
and
|
|
|
|
.I Stats
|
1994-10-25 01:17:41 +03:00
|
|
|
files should be given to
|
1993-08-04 23:30:29 +04:00
|
|
|
.I uurate
|
|
|
|
together, and cover the same time period.
|
|
|
|
.PP
|
|
|
|
If neither the
|
|
|
|
.B \-i
|
1994-10-25 01:17:41 +03:00
|
|
|
or
|
|
|
|
.B \-I
|
|
|
|
option nor any
|
1993-08-04 23:30:29 +04:00
|
|
|
.I logfile
|
1994-10-25 01:17:41 +03:00
|
|
|
options are given,
|
1993-08-04 23:30:29 +04:00
|
|
|
.I uurate
|
|
|
|
defaults to taking its input from the current Taylor
|
|
|
|
.I Log
|
|
|
|
and
|
|
|
|
.I Stats
|
1994-10-25 01:17:41 +03:00
|
|
|
files. The names are either as defined at compilation time, in case
|
|
|
|
there is no config file, or taken from the arguments of the keywords
|
|
|
|
.I logfile
|
|
|
|
and
|
|
|
|
.I statfile
|
|
|
|
when encountered in the config file.
|
1993-08-04 23:30:29 +04:00
|
|
|
This is the normal mode of operation.
|
|
|
|
.PP
|
|
|
|
The reporting options described below can be used to select
|
1994-10-25 01:17:41 +03:00
|
|
|
the set of reports desired. If no options are given, a summary
|
|
|
|
report is displayed. If there is no relevant data for a particular
|
|
|
|
report or host, that report or host will be suppressed.
|
1993-08-04 23:30:29 +04:00
|
|
|
.SH OPTIONS
|
1994-10-25 01:17:41 +03:00
|
|
|
The following options may be given to
|
1993-08-04 23:30:29 +04:00
|
|
|
.I uurate:
|
|
|
|
.TP 5
|
1994-10-25 01:17:41 +03:00
|
|
|
.B \-a
|
|
|
|
All reports. Identical to
|
|
|
|
.B \-cfexp.
|
|
|
|
.TP 5
|
1993-08-04 23:30:29 +04:00
|
|
|
.B \-c
|
|
|
|
Report on call statistics. Requires data from a
|
|
|
|
.I Log
|
|
|
|
file.
|
|
|
|
.TP 5
|
1994-10-25 01:17:41 +03:00
|
|
|
.B \-d
|
|
|
|
will print the default config file to be used.
|
1993-08-04 23:30:29 +04:00
|
|
|
.TP 5
|
|
|
|
.B \-e
|
|
|
|
Report on efficiency (total connect time versus time spent transferring
|
|
|
|
files). Requires data from both a
|
|
|
|
.I Log
|
|
|
|
and a
|
|
|
|
.I Stats
|
|
|
|
file, and they must span the same time period.
|
|
|
|
.TP 5
|
1994-10-25 01:17:41 +03:00
|
|
|
.B \-f
|
|
|
|
Report on file transfer statistics. Requires data from a
|
|
|
|
.I Stats
|
|
|
|
file.
|
|
|
|
.TP 5
|
|
|
|
.B \-h
|
|
|
|
will print a short help information.
|
|
|
|
.TP 5
|
|
|
|
.B \-i
|
|
|
|
tells uurate to read any logfile information from standard input.
|
|
|
|
.TP 5
|
|
|
|
.B \-p
|
|
|
|
report on protocol errors and packets sent/received
|
|
|
|
.TP 5
|
|
|
|
.B \-q
|
|
|
|
do not print the Environment information,
|
|
|
|
.TP 5
|
|
|
|
.B \-t
|
|
|
|
All reports. Identical to
|
|
|
|
.B \-cfexp.
|
|
|
|
plus the
|
|
|
|
.B Compact summary.
|
|
|
|
.TP 5
|
|
|
|
.B \-v
|
|
|
|
will print the version id string
|
|
|
|
.TP 5
|
1993-08-04 23:30:29 +04:00
|
|
|
.B \-x
|
|
|
|
Report on remote execution requests (e.g.,
|
|
|
|
.IR rmail ")."
|
|
|
|
Requires data from a
|
|
|
|
.I Log
|
|
|
|
file.
|
|
|
|
.TP 5
|
1994-10-25 01:17:41 +03:00
|
|
|
.BI "\-s " "host"
|
1993-08-04 23:30:29 +04:00
|
|
|
Restrict report output to
|
|
|
|
.I host.
|
1994-10-25 01:17:41 +03:00
|
|
|
.TP 5
|
|
|
|
.BI "\-I " "config file"
|
|
|
|
an alternate config file may be passed by this option.
|
1993-08-04 23:30:29 +04:00
|
|
|
.SH "DESCRIPTION OF REPORTS"
|
|
|
|
There are four reports available: the call, file transfer, efficiency,
|
|
|
|
and remote execution reports. Each may be selected by a command line
|
1994-10-25 01:17:41 +03:00
|
|
|
option. All reports may be selected via the options
|
|
|
|
.B \-a
|
|
|
|
or
|
|
|
|
.B \-t.
|
|
|
|
If no report selection options are given,
|
1993-08-04 23:30:29 +04:00
|
|
|
.I uurate
|
|
|
|
displays a compact traffic summary report (see below).
|
|
|
|
.SS "Summary report"
|
|
|
|
If no report options are given,
|
|
|
|
.I uurate
|
|
|
|
displays a traffic summary report. This is particularly useful in daily
|
|
|
|
.I cron
|
|
|
|
jobs which report on errors and the like. Traffic statistics for each
|
|
|
|
active system is reported on a single line. If more than one system was
|
|
|
|
active, a 'totals' line is included at the end of the report.
|
1994-10-25 01:17:41 +03:00
|
|
|
.SS "Protocol packet report"
|
|
|
|
The protocol report gives statistics on min/max packet and window sizes
|
|
|
|
used during transmission. Further on data is collected for packets
|
|
|
|
transferred. The data is collected for each host/protocol type.
|
|
|
|
The fields are described below:
|
|
|
|
.PP
|
|
|
|
.br
|
|
|
|
.nf
|
|
|
|
.in +.3i
|
|
|
|
.ta 1.0i
|
|
|
|
.BR "site " "UUCP node name of neighbor host system,"
|
|
|
|
.BR "typ " "Type of protocol used"
|
|
|
|
.BR "Min " "minimum packet/window size"
|
|
|
|
.BR "Max " "maximum packet/window size"
|
|
|
|
.BR "sent " "packets sent"
|
|
|
|
.BR "resent " "packets resent"
|
|
|
|
.BR "received " "packets received"
|
|
|
|
.in -.3
|
|
|
|
.SS "Protocol error report"
|
|
|
|
The protocol report gives statistics on packet errors
|
|
|
|
during transmission. The data is collected for each host/protocol type.
|
|
|
|
The fields are described below:
|
|
|
|
.PP
|
|
|
|
.br
|
|
|
|
.nf
|
|
|
|
.in +.3i
|
|
|
|
.ta 1.5i
|
|
|
|
.BR "site " "UUCP node name of neighbor host system,"
|
|
|
|
.BR "typ " "Type of protocol used"
|
|
|
|
.BR "header " "number of errors in header"
|
|
|
|
.BR "checksum " "number of checksum errors"
|
|
|
|
.BR "order " "number of order errors"
|
|
|
|
.BR "resent " "number packets resent"
|
|
|
|
.BR "rem-reject " "packets that the remote site rejected"
|
|
|
|
.in -.3
|
1993-08-04 23:30:29 +04:00
|
|
|
.SS "Call report"
|
1994-10-25 01:17:41 +03:00
|
|
|
The call report gives statistics on inbound and outbound calls for
|
1993-08-04 23:30:29 +04:00
|
|
|
each active host system. The fields are described below:
|
1994-10-25 01:17:41 +03:00
|
|
|
.PP
|
1993-08-04 23:30:29 +04:00
|
|
|
.br
|
|
|
|
.nf
|
1994-10-25 01:17:41 +03:00
|
|
|
.in +.3i
|
1993-08-04 23:30:29 +04:00
|
|
|
.ta 1.0i
|
1994-10-25 01:17:41 +03:00
|
|
|
.BR "site " "UUCP node name of neighbor host system,"
|
|
|
|
.BR "succ. " "Successful calls attempted to/by that system,"
|
|
|
|
.BR "failed " "Failed calls to/by that system,"
|
|
|
|
.BR "total " "Total calls to/by that system,"
|
|
|
|
.BR "time " "Collected connect time (hh:mm:ss) for all calls,"
|
|
|
|
.in -.3
|
1993-08-04 23:30:29 +04:00
|
|
|
.SS "File transfer reports"
|
1994-10-25 01:17:41 +03:00
|
|
|
The file transfer reports give statistics on inbound and
|
1993-08-04 23:30:29 +04:00
|
|
|
outbound file transfers (regardless of which end initiated the transfer)
|
|
|
|
for each active host system. There are two reports, one for files
|
|
|
|
sent to the remote system and one for files received from the remote
|
|
|
|
system. The fields in each report are described below:
|
1994-10-25 01:17:41 +03:00
|
|
|
.PP
|
1993-08-04 23:30:29 +04:00
|
|
|
.br
|
|
|
|
.nf
|
1994-10-25 01:17:41 +03:00
|
|
|
.in +.3i
|
1993-08-04 23:30:29 +04:00
|
|
|
.ta 1.0i
|
1994-10-25 01:17:41 +03:00
|
|
|
.BR "site " "UUCP node name of neighbor host system"
|
|
|
|
.BR "files " "Number of files transferred"
|
|
|
|
.BR "Bytes/1000 " "Total size of files transferred given in thousands"
|
|
|
|
.BR "xfr time " "Total time (hh:mm:ss) spent on transfer the files,"
|
|
|
|
.BR "B/sec " "Average transfer rate (bytes/sec)."
|
|
|
|
.in -.3
|
1993-08-04 23:30:29 +04:00
|
|
|
.SS "Efficiency report"
|
|
|
|
The efficiency report describes the utilization of the links
|
|
|
|
to each active remote system, giving the ratio of total connect time
|
1994-10-25 01:17:41 +03:00
|
|
|
to the time spent actually transferring files.
|
1993-08-04 23:30:29 +04:00
|
|
|
The fields are described below:
|
1994-10-25 01:17:41 +03:00
|
|
|
.PP
|
1993-08-04 23:30:29 +04:00
|
|
|
.br
|
|
|
|
.nf
|
1994-10-25 01:17:41 +03:00
|
|
|
.in +.3i
|
1993-08-04 23:30:29 +04:00
|
|
|
.ta 1.0i
|
1994-10-25 01:17:41 +03:00
|
|
|
.BR "site " "UUCP node name of neighbor host system"
|
|
|
|
.BR "connected " "Total connect time for that system (turn-around)"
|
|
|
|
.BR "xfr time " "Total file transfer time for that system"
|
|
|
|
.BR "overhead " "Connect time not used to transfer files,"
|
|
|
|
.BR "eff. % " "Ratio of connect time to transfer time (xfer*100/conn)"
|
|
|
|
.in -.3
|
|
|
|
.SS "Command executions report"
|
1993-08-04 23:30:29 +04:00
|
|
|
The remote execution report describes remotely
|
1994-10-25 01:17:41 +03:00
|
|
|
requested command executions from each active host system, like
|
1993-08-04 23:30:29 +04:00
|
|
|
.I rmail
|
|
|
|
and
|
1994-10-25 01:17:41 +03:00
|
|
|
.IR rnews "."
|
|
|
|
Up to eight command names are displayed. If there are more, the
|
|
|
|
rest will be put together in an `Misc.' column.
|
|
|
|
The fields are described below:
|
|
|
|
.PP
|
1993-08-04 23:30:29 +04:00
|
|
|
.br
|
|
|
|
.nf
|
1994-10-25 01:17:41 +03:00
|
|
|
.in +.3i
|
1993-08-04 23:30:29 +04:00
|
|
|
.ta 1.0i
|
1994-10-25 01:17:41 +03:00
|
|
|
.BR "site " "UUCP node name of neighbor host system,"
|
|
|
|
.BR "(command) " "Number of requests of this command,"
|
|
|
|
.BR "Misc. " "Number of other requests, if more than eight."
|
|
|
|
.in -.3i
|
1993-08-04 23:30:29 +04:00
|
|
|
.SS FILES
|
|
|
|
The file names below may be changed at compilation time or by the
|
|
|
|
configuration file, so these are only approximations.
|
|
|
|
.br
|
|
|
|
.nf
|
1994-10-25 01:17:41 +03:00
|
|
|
.in +.3in
|
|
|
|
.ta 2.2i
|
|
|
|
.IR "/usr/spool/uucp/Log " "V2/Taylor format call/execution log,"
|
|
|
|
.IR "/usr/spool/uucp/Stats " "V2/Taylor format file transfer log."
|
1993-08-04 23:30:29 +04:00
|
|
|
.SS "SEE ALSO"
|
|
|
|
.IR uucico "(8)"
|
|
|
|
.SS BUGS
|
1994-10-25 01:17:41 +03:00
|
|
|
Does not understand other than V2/TAYLOR logging formats. Anyone care to
|
|
|
|
volunteer to add the not mentioned?
|
1993-08-04 23:30:29 +04:00
|
|
|
.PP
|
1994-10-25 01:17:41 +03:00
|
|
|
Scanning the arguments of logfile and statfile keywords
|
|
|
|
in config should handle lines continued with the backslash as well.
|
1993-08-04 23:30:29 +04:00
|
|
|
.PP
|
1994-10-25 01:17:41 +03:00
|
|
|
The
|
|
|
|
.B failfm
|
|
|
|
field in the call statistics table is always zero, unless
|
|
|
|
something really serious happens, e.g. uucico got SIGQUIT or
|
|
|
|
the whole system crashed.
|
1993-08-04 23:30:29 +04:00
|
|
|
.SS AUTHOR
|
1994-10-25 01:17:41 +03:00
|
|
|
Robert B. Denny (denny@alisa.com).
|
1993-08-04 23:30:29 +04:00
|
|
|
.br
|
|
|
|
Loosely based on the DECUS UUCP program
|
|
|
|
.I uurate
|
|
|
|
by Mark Pizzolato.
|
1994-10-25 01:17:41 +03:00
|
|
|
.br
|
|
|
|
Modified by Stephan Niemz (stephan@sunlab.ka.sub.org).
|
|
|
|
.br
|
|
|
|
Modified by Klaus Dahlenburg (kdburg@incoahe.hanse.de).
|