README.md
This UIC contains some files to make using System Accounting
easier. The idea is for STARTUP.CMD to automatically start System
Accounting whever the system is brought up, and for SHUTUP.CMD to create
a command file pointing to that day's data when the system is shut up.
Alternatively, STARTACC.CMD and STOPACC.CMD can be invoked. Either way,
the intention it to create a file called LASTFIL.ACC for each System
Accounting data file, with a command like:
This assumes a fairly recent version of SRD: if you are using an older
version, then you may have to modify PROCESS.CMD, which is the command
file which processes the data. If there is a LASTFIL.ACC file,
PROCESS.CMD will use it to pick up the proper ACNTRN.SYS file, and it's
date, and use this information to process the data. If there is more
than one LASTFIL.ACC file, PROCESS.CMD uses the oldest one, so you can
let more than one stack up. If you wish, you can submit a batch job
using PROCESS.BAT, which will invoke PROCESS.CMD, and if there is more
than one LASTFIL.ACC, then submit more than one batch job, and they will
be done serially. The command file SUB.CMD can automatically submit one
job for each LASTFIL.ACC The idea behind all this is that SHUTUP.CMD
could also submit a batch job to run the next day using PROCESS.BAT, so
that the system accounting data would automatically be processed, and
you would usually not have to do anything extra: it would be done
automatically whenever the system is brought up or down.
If there is no LASTFIL.ACC file, PROCESS.CMD will prompt you for the
name and date of the desired data file.
Once the data is obtained, it can be reported by Datatrieve, but we
prefer to graph it on a PRO. The programs DEVICE.FTN and TASK.FTN graph
Device statistics and Task statistics, respectively. They use Core
Graphics, but have never been tried on anything other than a PRO-350.
GRAPHIC.CMD and GRAPHBLD.CMD are used to compile and task build any
fortran program which uses the graphics library on a PRO, including the
two given above and the SPM program elsewhere on the tape.
WARNINGS:
Since System Accounting is tied to [1,6], most of these files
also assume they are in [1,6]; some, but not all, will switch you there
automatically, but it is best if they are kept in [1,6]. You will
probably want to edit QUERY.DTR which contains the Datatrieve
definitions, and specifically edit the two tables NOCHANGE_TAB and
TASK_TAB to reflect the files you normally want in your reports.
The Sort Specification files *.SRT are for Sort-11 V3. Files for
Sort-11 V2 were placed on a previous SIG tape about a year or so ago.