beautypg.com

Overriding report attributes – HP NonStop G-Series User Manual

Page 65

background image

Formatting Reports and Plots

Measure User’s Guide 520560-003

4 -5

REPORT Attributes

Set Report Style ZMS
Set Report Totals suppress
Set Report Zero-Values suppress
Set Report Zero-Reports suppress
Set Report From
Set Report To
Set Report For
Set Report LoadId

Overriding REPORT Attributes

To override REPORT attributes, specify them in the LIST

entity-type

, LISTALL

entity-type

, and LISTACTIVE

entity-type

commands. The values specified in

these commands remain in effect only for the life of the command. The settings of the
REPORT attributes remain unchanged. For example, to change the NORMAL format
named in the previous RESET command to BRIEF format for this display of CPU data:

14+ LIST CPU *, FORMAT BRIEF

In addition, to control report format and content, use the BY and IF clauses of the LIST

entity-type

and LISTALL

entity-type

commands. Because the LISTACTIVE

command displays only one entity at a time, it does not support the BY and IF clauses.

The IF clause displays reports based on the value of a specified counter or a numeric
identification item such as PIN or PRIORITY. (The DDL record for each entity type lists
the identification items associated with that entity. See the Measure Reference
Manual
.)

To display only the records that contain a CPU-BUSY-TIME value greater than 10:

5+ LIST CPU *, IF CPU-BUSY-TIME > 10

For PROCESSH entities, the object of the IF clause is a code-range name rather than
a counter name. For example:

8+ LIST PROCESSH $ABC, BY CODE-RANGE, IF CODE-RANGE > 0

For DISC entities, the counter name for a cache counter must be preceded by C0-,
C1-, C2-, or C3- to differentiate between the different cache block sizes. To display
only disk records that contain a HITS value for the 512-byte cache (C0) greater than
10:

9+ LIST DISC *, IF C0-HITS > 10

The BY clause arranges reports in order based on the value of a specified counter or
numeric identification item. You can specify an ascending or descending sort order. By
default, counter items are sorted in descending order, and identification items are
sorted in ascending order.

For example, to display all CPU reports in ascending order according to the value of
the CPU-BUSY-TIME counter:

6+ LIST CPU *, BY CPU-BUSY-TIME (ASCENDING)