beautypg.com

Changing the scale, Example 4-9, Two-axis plot of five busiest cpus – HP NonStop G-Series User Manual

Page 82: Example 4-10, Plot of five busiest cpus, narrowed report window

background image

Formatting Reports and Plots

Measure User’s Guide 520560-003

4- 22

Changing the Scale

Changing the Scale

Changing the scale of a graph can make its data more distinct and accessible. To
change the scale on a two-axis plot or a bar graph, use the SCALE-FROM and
SCALE-TO plot attributes of the SET PLOT or LIST PLOT command.

The default scale is 0 to 100. To plot values larger than 100, you must change the
scale default. The minimum and maximum data values shown in each plot appear
following each graph. These values can help you select different scale values.

By default, the time intervals on the Y-axis of two-axis plots are the collection intervals.
To change the time interval, use the INTERVAL clause of the LIST PLOT command. To
change the beginning or ending times of the time axis, use the FROM and TO clauses
of the LIST PLOT command. See

Changing the Plot Window

on page 4-27.

Example 4-9

shows a two-axis plot of CPU-BUSY-TIME for the five busiest CPUs on

the system. These CPUs were identified by listing all 12 CPUs by CPU-BUSY-TIME,
then adding each of the top five CPUs to the plot definition.

Example 4-10

uses the minimum and maximum values listed following the graph in

Example 4-9

to change the report window. The plot is scaled from 5 to 70 rather than

from 0 to 100.

Example 4-9. Two-Axis Plot of Five Busiest CPUs

68+ LIST PLOT, INTERVAL 1 HOUR
0:::::+:::20.0:::::+:::40.0:::::+:::60.0:::::+:::80.0:::::+::::100
11:20:00 - E D C B A -
12:20:00 - E B C D A -
13:20:00 - E C D A B
0:::::+:::20.0:::::+:::40.0:::::+:::60.0:::::+:::80.0:::::+::::100

Min value = 5.838 Max value = 100.000

A: CPU-BUSY-TIME Cpu 3
B: CPU-BUSY-TIME Cpu 1
C: CPU-BUSY-TIME Cpu 2
D: CPU-BUSY-TIME Cpu 10
E: CPU-BUSY-TIME Cpu 4

Example 4-10. Plot of Five Busiest CPUs, Narrowed Report Window

70+ LIST PLOT, INTERVAL 1 HOUR, SCALE-FROM 5, SCALE-TO 70
5.00:::::+:::18.0:::::+:::31.0::::::+:::44.0:::::+:::57.0:::::+:::70.0
11:20:00 - E D C B A -
12:20:00 - E B C D A -
13:20:00 E C D A -
5.00:::::+:::18.0:::::+:::31.0::::::+:::44.0:::::+:::57.0:::::+:::70.0

Min value = 5.838 Max value = 100.000

A: CPU-BUSY-TIME Cpu 3
B: CPU-BUSY-TIME Cpu 1
C: CPU-BUSY-TIME Cpu 2
D: CPU-BUSY-TIME Cpu 10
E: CPU-BUSY-TIME Cpu 4