Skip to content

Page 1

ND 10315 Accounting System for SINTRAN III/VS, VSE, VSE-500

PURPOSE

This system provides facilities to account for the usage of certain of the computer's resources. Depending on options chosen, it is possible to account:

  1. CPU time used by background users and RT programs on a NORD-10 or ND-100, and by ND-500 users.

  2. Connect time for background users accessing a NORD-10, ND-100 or ND-500.

  3. Block I/O transfers through the file system (1K pages written to, or read from, files on disk).

  4. Number of pages printed on printers to which output is spooled using the ND Spooling System.

FEATURES

Resources usage is logged on a disk file in records which contain a user name, a project name, a type identifier, and accounting information according to record type. The user name is the standard SINTRAN III Filesystem user name. The project name is determined from the RT-program name in the case of RT-accounting records or from a project password typed in by the user at login time. RT-program names and project passwords are associated with the project name by means of records contained in files on disk. This provides a flexible means of creating and deleting projects. The project password is not echoed on log-in, so this functions like a tone password and provides security.

As well as the file on disk, tables containing accounting data are stored temporarily in memory and a real-time program ACCRT is used to provide Real-time accounting.

CONTROL OF THE ACCOUNTING

The control of the accounting system is limited to user SYSTEM who supervises the computer installation. The command @ INIT-ACCOUNTING initializes and starts the accounting system, which can then be started and stopped by the commands @ START-ACCOUNTING and @ STOP-ACCOUNTING.

Once accounting has been started, accounting for individual RT programs can be enabled and disabled by the commands @ START-RT-ACCOUNT and @ STOP-RT-ACCOUNT. The current usage of CPU time by RT programs can be examined by the command @ LIST-RT-ACCOUNT.

PROCESSING AND MAINTENANCE OF THE ACCOUNTING FILES

A service program exists to maintain the files containing RT program/project passwords and project name records, and also to process the accounting records written to the accounting disk file by SINTRAN III. This service program can produce a list of these accounting records (a log) sorted according to various criteria and also can accumulate these data into a further file. This file is of the ND ISAM type and allows the total usage for users and projects to be accumulated over a period of months or years, and accounts based on these accumulated records to be produced.

Commands available in this ACCOUNTING-SERVICE-PROGRAM are:

  • HELP
  • EXIT
  • RESET-BACKGROUND-PROJECT-TABLE
  • CREATE-BACKGROUND-PROJECT
  • DELETE-BACKGROUND-PROJECT
  • LIST-BACKGROUND-PROJECTS
  • RESET-RT-PROJECT-TABLE
  • CREATE-RT-PROJECT
  • DELETE-RT-PROJECT
  • LIST-RT-PROJECT
  • DUMP-AND-ACCUMULATE
  • LOOK-ACCUMULATED
  • DELETE-ACCUMULATED-PROJECT
  • DELETE-ACCUMULATED-USER
  • PRINT-ACCUMULATED-ACCOUNTS

REFERENCES

  • SINTRAN III System Supervisor ..... ND-30.003
  • SINTRAN III Reference Manual ..... ND-60.128

10315-A1-6000-0281