Difference between revisions of "Accounting"

From VSI OpenVMS Wiki
Jump to: navigation, search
(Created page with "'''Accounting''' is a utility that produces reports of system resource use. To view the events currently being written to the report file, use SHOW ACCOUNTING. To manage t...")
 
Line 1: Line 1:
'''Accounting''' is a utility that produces reports of system resource use. To view the events currently being written to the report file, use [[SHOW ACCOUNTING]]. To manage the events being written to the accounting file, use [[SET ACCOUNTING]].
+
'''Accounting''' is a utility that produces reports of system resource use.  
 +
 
 +
=Viewing Accounting Reports=
 +
==Syntax==
 +
ACCOUNTING [filespec[,...]]
 +
 
 +
===Qualifiers===
 +
This section describes and provides examples of each ACCOUNTING qualifier. The following table summarizes the ACCOUNTING qualifiers:
 +
{| class="wikitable"
 +
! colspan="col" | Qualifier
 +
! colspan="col" | Description
 +
|-
 +
| /ACCOUNT
 +
| Selects or rejects records for the specified [[#Account|account names]]
 +
|-
 +
| /ADDRESS
 +
| Selects or rejects records for DECnet for OpenVMS requests made by the specified nodes
 +
|-
 +
| /BEFORE
 +
| Selects all records time-stamped before the specified time
 +
|-
 +
| /BINARY
 +
| Copies the selected records to a new file in binary format
 +
|-
 +
| /BRIEF
 +
| Produces a brief report of the selected records
 +
|-
 +
| /ENTRY
 +
| Selects or rejects records for [[Print Job|print]] and [[Batch Job|batch jobs]] with the specified queue entry numbers
 +
|-
 +
| /FULL
 +
| Produces a full report of the selected records
 +
|-
 +
| /IDENT
 +
| Selects or rejects records for the specified [[Process|processes]]
 +
|-
 +
| /IMAGE
 +
| Selects or rejects records for the specified [[Image|images]]
 +
|-
 +
| /JOB
 +
| Selects or rejects records for [[Print Job|print]] and [[Batch Job|batch jobs]] with the specified job names
 +
|-
 +
| /LOG
 +
| Outputs informational messages
 +
|-
 +
| /NODE
 +
| Selects or rejects records for DECnet for OpenVMS requests made by the specified nodes
 +
|-
 +
| /OUTPUT
 +
| Specifies the output file ([[Alpha]] and [[I64]])
 +
|-
 +
| /OWNER
 +
| Selects or rejects records for [[Subprocess|subprocesses]] created by the specified processes
 +
|-
 +
| /PRIORITY
 +
| Selects or rejects records for the specified priority
 +
|-
 +
| /PROCESS
 +
| Selects or rejects records for the specified types of process
 +
|-
 +
| /QUEUE
 +
| Selects or rejects records for [[Print Job|print]] and [[Batch Job|batch jobs]] executed by the specified queues
 +
|-
 +
| /REJECTED
 +
| Copies the rejected records to a new file
 +
|-
 +
| /REMOTE_ID
 +
| Selects or rejects records for [[DECnet]] for OpenVMS requests made by the specified remote IDs
 +
|-
 +
| /REPORT
 +
| Specifies the resources that you want to summarize in a summary report
 +
|-
 +
| /SINCE
 +
| Selects all records time-stamped at or after the specified time
 +
|-
 +
| /SORT
 +
| Sorts the selected records
 +
|-
 +
| /STATUS
 +
| Selects or rejects records with the specified final exit [[$STATUS|status codes]]
 +
|-
 +
| /SUMMARY
 +
| Produces a summary report of the selected records
 +
|-
 +
| /TERMINAL
 +
| Selects or rejects records for interactive sessions at the specified [[Terminal|terminals]]
 +
|-
 +
| /TITLE
 +
| Specifies the title shown on the first line of a summary report
 +
|-
 +
| /TYPE
 +
| Selects or rejects the specified types of record
 +
|-
 +
| /UIC
 +
| Selects or rejects records for the specified [[UIC]]s
 +
|-
 +
| /USER
 +
| Selects or rejects records for the specified user names
 +
|-
 +
| /WIDE
 +
| Changes the width of Buffered I/O and Direct I/O fields in a report from 8 to 10 characters
 +
|}
 +
 
 +
==Account==
 +
Account is a field in the [[SYSUAF]] record that specifies the accounting group that a user belongs to.
 +
 
 +
=Settings=
 +
To view the events currently being written to the report file, use [[SHOW ACCOUNTING]]. To manage the events being written to the accounting file, use [[SET ACCOUNTING]].
  
 
=See also=
 
=See also=
 
* {{Template:UtilitiesI}}
 
* {{Template:UtilitiesI}}

Revision as of 11:50, 2 December 2019

Accounting is a utility that produces reports of system resource use.

Viewing Accounting Reports

Syntax

ACCOUNTING [filespec[,...]]

Qualifiers

This section describes and provides examples of each ACCOUNTING qualifier. The following table summarizes the ACCOUNTING qualifiers:

Qualifier Description
/ACCOUNT Selects or rejects records for the specified account names
/ADDRESS Selects or rejects records for DECnet for OpenVMS requests made by the specified nodes
/BEFORE Selects all records time-stamped before the specified time
/BINARY Copies the selected records to a new file in binary format
/BRIEF Produces a brief report of the selected records
/ENTRY Selects or rejects records for print and batch jobs with the specified queue entry numbers
/FULL Produces a full report of the selected records
/IDENT Selects or rejects records for the specified processes
/IMAGE Selects or rejects records for the specified images
/JOB Selects or rejects records for print and batch jobs with the specified job names
/LOG Outputs informational messages
/NODE Selects or rejects records for DECnet for OpenVMS requests made by the specified nodes
/OUTPUT Specifies the output file (Alpha and I64)
/OWNER Selects or rejects records for subprocesses created by the specified processes
/PRIORITY Selects or rejects records for the specified priority
/PROCESS Selects or rejects records for the specified types of process
/QUEUE Selects or rejects records for print and batch jobs executed by the specified queues
/REJECTED Copies the rejected records to a new file
/REMOTE_ID Selects or rejects records for DECnet for OpenVMS requests made by the specified remote IDs
/REPORT Specifies the resources that you want to summarize in a summary report
/SINCE Selects all records time-stamped at or after the specified time
/SORT Sorts the selected records
/STATUS Selects or rejects records with the specified final exit status codes
/SUMMARY Produces a summary report of the selected records
/TERMINAL Selects or rejects records for interactive sessions at the specified terminals
/TITLE Specifies the title shown on the first line of a summary report
/TYPE Selects or rejects the specified types of record
/UIC Selects or rejects records for the specified UICs
/USER Selects or rejects records for the specified user names
/WIDE Changes the width of Buffered I/O and Direct I/O fields in a report from 8 to 10 characters

Account

Account is a field in the SYSUAF record that specifies the accounting group that a user belongs to.

Settings

To view the events currently being written to the report file, use SHOW ACCOUNTING. To manage the events being written to the accounting file, use SET ACCOUNTING.

See also