Scenario

6.10 LPAR mode z/VM guest

Perform the steps described in this scenario to start hyptop with the sys window with system MYLPAR with the fields dispatch time (unit milliseconds) and total dispatch time (unit default), sort the output according to the total dispatch time, and then reverse the sort order.

Procedure

  1. Start hyptop.
    # hyptop 
  2. Go to select mode by pressing the Right Arrow key. The display will freeze.
  3. Navigate to the row for the system you want to look (in the example MYLPAR) at using the Up Arrow and Down Arrow keys.
    12:15:00 | cpu-t: IFL(18)  CP(3)  UN(3)                               ?=help
    system   #core     core    mgm    Core+  Mgm+   online
    (str)      (#)      (%)    (%)     (hm)  (hm)    (dhm)
    MYLPAR______4___199.69___0.04___547:41_ 8:15_11:05:59
    S05LP33      4   133.73   7.57   220:53  6:12 11:05:54
    S05LP50      4    99.26   0.01   146:24  0:12 10:04:24
    S05LP02      1    99.09   0.00   269:57  0:00 11:05:58
    ...
    S05LP56      3     0.00   0.00     0:00  0:00 11:05:52
               413   823.39  23.86  3159:57 38:08 11:06:01
  4. Open the sys window for MYLPAR by pressing the Right Arrow key.
    12:15:51 MYLPAR cpu-t: IFL(18) CP(3) UN(2)                            ?=help
    coreid  type   core  mgm visual
    (#)    (str)    (%)  (%) (vis)
    0        IFL  99.84 0.02 |########################################
    1        IFL  99.85 0.02 |########################################
    2        IFL   0.00 0.00 |
    3        IFL   0.00 0.00 |
    =:V:N        199.69 0.04
  5. Press the F key to go to the fields selection window:
    Select Fields and Units                                               ?=help
    K S ID     UNIT AGG  DESCRIPTION
    p * type   str  none CPU type
    c * core   %    sum  Core dispatch time per second
    e   the    %    sum  Thread time per second
    m * mgm    %    sum  Management time per second
    C   core+  hm   sum  Total core dispatch time
    E   thE+   %    sum  Total thread time
    M   mgm+   hm   sum  Total management time
    o   online dhm  max  Online time
    v * visual vis  none Visualization of CPU time per second
    Ensure that dispatch time per second and total dispatch time are selected and for dispatch time microseconds are used as unit:
    1. Press the P key, the M key, and the V key to disable CPU type, Management time per second, and Visualization.
    2. Press the C key to enable Total core dispatch time.
    3. Then select the Core dispatch time per second row by pressing the Right Arrow and Down Arrow keys.
    4. Press the minus key (-) to switch from the percentage (%) unit to the microseconds (ms) unit.
    Select Fields and Units                                               ?=help
    K S ID     UNIT AGG  DESCRIPTION
    p   type   str  none CPU type
    c * core   ms   sum  Core dispatch time per second
    e   the    %    sum  Thread time per second
    m   mgm    %    sum  Management time per second
    C * core+  hm   sum  Total core dispatch time
    E   thE+   %    sum  Total thread time
    M   mgm+   hm   sum  Total management time
    o   online dhm  max  Online time
    v   visual vis  none Visualization of CPU time per second
    Press the Left arrow key twice to return to the sys window.
  6. To sort by Total core dispatch time press the Shift+C keys:
    13:44:41 MYLPAR cpu-t: IFL(18) CP(3) UN(2)                            ?=help
    coreid   core   Core+
    (#)      (ms)    (hm)
    0       23.84  548:52
    1       37.48  492:55
    3        0.00    0:00
    2        0.00    0:00
    =:^:N   61.33 1041:47   
    To reverse the sort order, press the Shift+C keys again:
    13:44:41 MYLPAR cpu-t: IFL(18) CP(3) UN(2)                            ?=help
    coreid    core   Core+
    (#)       (ms)    (hm)
    2         0.00    0:00
    3         0.00    0:00
    1        37.48  492:55
    0        23.84  548:52
    =:^:N    61.33 1041:47   

Results

You can do all of these steps in one by entering the command:
# hyptop -w sys -s mylpar -f c:ms,C -S C -S C