beautypg.com

Specifying a collection interval, Specifying a start and stop time – HP NonStop G-Series User Manual

Page 48

background image

Configuring and Running Measurements

Measure User’s Guide 520560-003

3 -6

Starting a Measurement

To start a measurement that collects data in the file named $PERF.DATA.NOV5:

16+ START MEASUREMENT $PERF.DATA.NOV5

Specifying a Start and Stop Time

Use the TO, FROM, and FOR clauses of the START MEASUREMENT command to
direct MEASCOM to start or stop the measurement at a specific time. The TO and
FOR clauses cannot be used together. For detailed descriptions of the FROM, TO, and
FOR clauses, see the Measure Reference Manual.

These clauses let you collect data at particular times of the day or run regularly
scheduled performance checks. For example, you might take a standard set of
measurements each day to monitor system performance at peak and off-peak hours.

To start a measurement that runs from 9:00 a.m. to 5:00 p.m.:

4+ START MEASUREMENT $PERF.DATA.NOV5, FROM 9:00, TO 17:00

To specify the same timeframe using the FROM and FOR clauses:

4+ START MEASUREMENT $PERF.DATA.NOV5, FROM 9:00, FOR 8 HOURS

For example, to enter MEASCOM, build a measurement configuration to collect
information about all CPUs and two disks ($DATA and $BUYER), start the
measurement, directing the data to a file named $DATA.PERF.NOV05, and exit from
MEASCOM:

45> MEASCOM
MEASURE Performance Monitor - T9086G10 - (16DEC03) - \HATI
(C)1986 Tandem (C)2003 Hewlett Packard Development Company, L.P.
1+ ADD CPU *
2+ ADD DISC $DATA
3+ ADD DISC $BUYER
4+ START MEASUREMENT $DATA.PERF.NOV05
5+ EXIT

This measurement starts as soon as the START command is issued and runs until you
issue the STOP MEASUREMENT command.

Specifying a Collection Interval

A collection interval records measurement data at specified intervals within a
measurement. A collection interval can help you identify peak periods within a
measurement or analyze interactions between measured resources.

FROM

date/time

Specifies the date and time to start the measurement.

TO

date/time

Specifies the date and time to end the measurement.

FOR

duration

Specifies how long the measurement will run.

duration

is a whole

number followed by HOURS, MINUTES, or SECONDS. The FOR
clause can be used by itself or with the FROM clause.