ACNT Use the ICNT co.mand to process accounting data, create accounting
records for logged-on users, and reset the accumulated accounting data.
For each user specified, an accounting record is created giving the time used by his virtual machine since the last ICNT command was issued for
hi. or since he logged on. The recbrd produced is identical to the
record given when the user logs off of VM/370. Each user receives a message at his terminal that indicates the accumulated accounting data,
and the accuaulated accounting data for each user is reset to zeros. I user can suppress the accounting message by entering the CP command SET ICNT OFF. The format of the ICNT command is:
lCNT
userid1
ALL
{
userid1 userid2 ••• }
ALL
specifies the user(s) for which accounting records are to be
created. Multiple users may be specified on the command input
line.
specifies that accounting records
all logged-on users.
are to be created for
The format of the accounting information message is:
CONNECT=hh:mm:ss VIRTCPU=mmm:ss.hh TOTCPU=mmm:ss.hh CONNECT hh:am:ss is the actual clock time spent in the user's current
terminal session or the time elapsed since the ICNT command was last issued for the user. VIRTCPU mm.:ss.hh is the processor time spent in
instructions within the virtual machine. executing TOTCPU amm:ss.hh is the processor time spent in executing
instructions within the virtual machine plus
processor time used by the control program in
maintaining the virtual machine (paging, I/O, etc.). 44 V8/370 Operator's Guide
Page of GC20-1806-9 As Updated April 1, 1981 by TNL GN25-0834
ATTACH Use the ATTACH command to logically connect a real device to a virtual
machine for that virtual machine's exclusive use, or to logically
connect a DASD device for CP access and control. The operator usually
issues the ATTACH command to fulfill a user's request. The of the
ATTACH command is:
r----------------------------------------------------------------------------"
ATTach raddr [To] {USerid [As] vaddr [Rr/O]] [3330V] [VOLID VOlid]},' SYSTEM [As] volid I {
raddr... } I raddr-raddr (TO] userid [R[/O]] [3330V] I I raddr
raddr ••• raddr-raddr TO [ AS] vaddr
is the real address (cuu) of the device to be attached. On the command line, one real device address, multiple real
device addresses, or a range of real device addresses can be
specified. When the multiple or range form of raddr entry is used r the
real addresses are identical to the virtual addresses. When the range form of raddr is used (raddr-raddr), the values CUU-cuu must be entered with no imbedded blanks. The range
supplied must be contiguous addresses in ascending order with
the second address in the range being greater than the first.
userid is the user identification of the virtual machine that
is to receive the device(s). The user must be logged on to
receive the device(s). If the class B user is attaching the
device to his own virtual machine, the userid can be specified
as an asterisk (*). If the optional keyword "TO" is omitted,
the userid cannot be "TO" or "T". If a numeric userid of less
than four characters is specified with a range of addresses or
multiple device addresses, "TO" must be specified. When specifyinq a userid that could also be a valid hexadecimal
device address (for example, virtual machine id CE), the "TO" operand must be specified to distinguish it as a userid.
is the virtual address (cuu) to be assigned to the If
the optional keyword "AS" is omitted, vaddr cannot be "A" or "AS" For USe of the vaddr operand, see Usage Note 6. R/O is optionally used for DASD devices that are attached to a
user. This allows the system operator to apply read-only
protection to a user's disk. The RIO operand may be truncated
to R. The R/O operand is ignored for all devices for which it
does not apply whenever more than one address is specified on
the command line.
Section 3. CP Commands 45
Previous Page Next Page