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.

Responses<br />

2. If the wait-state interpretation capability is available on the real processor, it is<br />

used for dedicated virtual <strong>CP</strong>Us. When the wait-state interpretation capability is<br />

used, the guest virtual machine remains dispatched even when it enters a PSW<br />

enabled-wait state. Time consumed dispatched in the wait state is included in<br />

the virtual <strong>and</strong> total <strong>CP</strong>U time reported for the guest.<br />

3. The default date format for certain <strong>CP</strong> <strong>and</strong> CMS comm<strong>and</strong>s can be set on a<br />

system-wide basis <strong>and</strong> also for the individual user. The system-wide default<br />

date format is set with the SYSTEM_DATEFORMAT system configuration<br />

statement. The user’s default date format is set with the DATEFORMAT user<br />

directory control statement. The system-wide default <strong>and</strong> the user’s default can<br />

also be set with the <strong>CP</strong> SET DATEFORMAT comm<strong>and</strong>. The user’s default date<br />

format defaults to the system-wide default. The system-wide <strong>and</strong> user settings<br />

can be queried with the <strong>CP</strong> QUERY DATEFORMAT comm<strong>and</strong>. The hierarchy of<br />

possible date format settings for the QUERY TIME comm<strong>and</strong>, from highest<br />

priority to lowest, is:<br />

v QUERY TIME comm<strong>and</strong> oper<strong>and</strong><br />

v User default<br />

v System-wide default<br />

Response 1:<br />

If you enter QUERY TIME SHORTDATE, you get the following response:<br />

TIME IS hh:mm:mm zone weekday mm/dd/yy<br />

CONNECT= hh:mm:ss VIRT<strong>CP</strong>U= mmm:ss.hs TOT<strong>CP</strong>U= mmm:ss.hs<br />

This shows the current real clock time (in hours, minutes, <strong>and</strong> seconds), the time<br />

zone (for example, EST), the day of the week, <strong>and</strong> the calendar date.<br />

Response 2:<br />

If you enter QUERY TIME FULLDATE, you get the following response:<br />

TIME IS hh:mm:mm zone weekday mm/dd/yyyy<br />

CONNECT= hh:mm:ss VIRT<strong>CP</strong>U= mmm:ss.hs TOT<strong>CP</strong>U= mmm:ss.hs<br />

Response 3:<br />

If you enter QUERY TIME ISODATE, you get the following response:<br />

TIME IS hh:mm:mm zone weekday yyyy-mm-dd<br />

CONNECT= hh:mm:ss VIRT<strong>CP</strong>U= mmm:ss.hs TOT<strong>CP</strong>U= mmm:ss.hs<br />

Explanation of Response 1, 2, <strong>and</strong> 3 Contents:<br />

QUERY TIME<br />

CONNECT= hh:mm:ss<br />

identifies the actual clock time consumed in the current session in hours,<br />

minutes, <strong>and</strong> seconds. The maximum value for this field is 99:59.59. A time<br />

value larger than the maximum will be indicated by this value.<br />

VIRT<strong>CP</strong>U= mmm:ss.hs<br />

identifies the virtual processor time consumed in the current session in minutes,<br />

seconds, <strong>and</strong> hundredths of seconds. The maximum value for this field is<br />

999:59.99. A time value larger than the maximum will be indicated by this value.<br />

TOT<strong>CP</strong>U= mmm:ss.hs<br />

identifies the total processor time (virtual <strong>and</strong> overhead) consumed in the<br />

Chapter 2. <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> 1033

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

Saved successfully!

Ooh no, something went wrong!