27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

TRSOURCE ID (Definition Oper<strong>and</strong>s)<br />

DISPlay<br />

displays the status for each trace ID or trace set specified on this comm<strong>and</strong>. If<br />

you specify DISPLAY, it must be the last oper<strong>and</strong> on the comm<strong>and</strong> line.<br />

The I/O Trace<br />

The I/O trace lets you trace all I/O activity on a user-specified real device, a list of<br />

real devices, or range of real devices. The times, channel programs, SCSWs, <strong>and</strong><br />

data transferred for each I/O operation to the specified devices are made available<br />

for data analysis. If concurrent sense data is received then this information is made<br />

available as well.<br />

Note: Any or none of the following I/O parameters may be specified in any order<br />

on a TRSOURCE comm<strong>and</strong>.<br />

DEVice rdev1[-rdev2] [rdev3[-rdev4]]...<br />

USER { userid }<br />

{ ALL }<br />

{ SYSTEM }<br />

IOData { nnnn }<br />

{ 0 }<br />

DEVice rdev1...<br />

specifies the device number or ranges of device numbers whose I/O activity is<br />

to be traced. The number of devices or ranges that can be traced with one<br />

trace ID of type IO is limited to 255. DEVICE is the only m<strong>and</strong>atory parameter<br />

before enabling of trace IDs of type IO. There are no defined defaults for the<br />

DEVICE parameter <strong>and</strong> any respecification of DEVICE for a previously defined<br />

trace results in new devices being appended to the definition. A device can be a<br />

member of only one enabled trace ID. Attempts to enable the same device from<br />

two or more different trace IDs results in an error message.<br />

USER userid<br />

USER ALL<br />

USER SYSTEM<br />

specifies which user’s I/O should be traced. I/O done by the system on behalf<br />

of the user is traced. Tracing can only be done for one user per trace ID <strong>and</strong><br />

any respecification of the user parameter replaces the existing definition. The<br />

user ID SYSTEM is a valid user ID for I/O traces. Only one user’s I/O or all I/O<br />

is traced. The default value, ALL, specifies that all I/O to the specified device is<br />

traced for all user IDs.<br />

IOData nnnn<br />

specifies how many bytes, if possible, of the transferred data should be traced.<br />

The valid range for nnnn is 0 to 3800 decimal <strong>and</strong> the default is 0 bytes.<br />

The GT Trace<br />

1684 z/<strong>VM</strong>: <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Reference</strong><br />

Traces of type GT allow a guest virtual machine to record events. Guests can<br />

record in block or event mode. All user IDs specified for a trace ID must support the<br />

same mode of recording.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!