longrange
Description
The longrange subcommand is used to specify a monitoring term (time range) for collecting monitoring data to be exported into files. Use this subcommand when you want to narrow the export-target term within the stored data.
The longrange subcommand is valid for monitoring data in long range. The monitoring data in long range is the contents displayed on the Physical tab of the Performance Management window with selecting longrange as the storing period.
The monitoring items whose data can be stored in long range are limited. The following table shows the monitoring items to which the longrange subcommand can be applied, and also shows the operands to export those monitoring items.
|
Monitoring Data |
Operands of the group subcommand |
|
Usage statistics about parity groups |
PhyPG Long |
|
Usage statistics about volumes |
PhyLDEV Long |
|
Usage statistics about MPs and data recovery and reconstruction processors |
PhyProc Long |
|
Usage statistics about access paths and write pending rate |
PhyCMPK Long |
If you run Export Tool without specifying the longrange subcommand, the data stored in the whole monitoring term will be exported.
The login subcommand must run before the longrange subcommand runs.
Syntax
longrange [[yyyyMMddhhmm][{+|-}ddhhmm]:[yyyyMMddhhmm][{+|-}ddhhmm]]
Operands
The value on the left of the colon (:) specifies the starting time of the period. The value on the right of the colon specifies the ending time of the period. Specify the term within "Long Range From XXX To XXX" which is output by the
show subcommand.
If no value is specified on the left of the colon, the starting time for collecting monitoring data is assumed. If no value is specified on the right of the colon, the ending time for collecting monitoring data is assumed. The starting and ending times for collecting monitoring data are displayed in the Monitoring Term area in the Monitor Performance window.
|
Operand |
Description |
|
yyyyMMddhhmm |
yyyyMMdd indicates the year, the month, and the day. hhmm indicates the hour and the minute. If yyyyMMddhhmm is omitted on the left of the colon, the starting time for collecting monitoring data is assumed. If yyyyMMddhhmm is omitted on the right of the colon, the ending time for collecting monitoring data is assumed. |
|
+ddhhmm |
Adds time (ddhhmm) to
yyyyMMddhhmm if
yyyyMMddhhmm is specified. For example,
Adds time to the starting time for collecting monitoring data, if yyyyMMddhhmm is omitted. |
|
-ddhhmm |
Subtracts time (ddhhmm) from
yyyyMMddhhmm if
yyyyMMddhhmm is specified. For example,
Subtracts time from the ending time for collecting monitoring data, if yyyyMMddhhmm is omitted. Ensure that
mm is 00, 15, 30, or 45. If you do not specify
mm in this way, the value on the left of the colon (:) will be rounded down to one of the four values. Also, the value on the right of the colon will be rounded up to one of the four values. For example, if you specify
|
Examples
The examples below assume that:
- the starting time for collecting monitoring data is Jan. 1, 2013, 00:00.
- the ending time for collecting monitoring data is Jan. 2, 2013, 00:00.
longrange 201301010930:201301011730Export Tool saves monitoring data within the range of Jan. 1, 9:30-17:30.
longrange 201301010930:Export Tool saves monitoring data within the range of Jan. 1, 9:30 to Jan. 2, 00:00.
longrange:201301011730Export Tool saves monitoring data within the range of Jan. 1, 0:00-17:30.
longrange +000015:Export Tool saves monitoring data within the range of Jan. 1, 0:15 to Jan. 2, 00:00.
longrange -000015:Export Tool saves monitoring data within the range of Jan. 1, 23:45 to Jan. 2, 00:00.
longrange:+000015Export Tool saves monitoring data within the range of Jan. 1, 0:00-00:15.
longrange:-000015Export Tool saves monitoring data within the range of Jan. 1, 0:00-23:45.
longrange +000115:-000115Export Tool saves monitoring data within the range of Jan. 1, 1:15-22:45.
longrange 201301010900+000130:201301011700-000130Export Tool saves monitoring data within the range of Jan. 1, 10:30-15:30.
longrange 201301010900-000130:201301011700+000130Export Tool saves monitoring data within the range of Jan. 1, 7:30-18:30.
longrange 201301010900-000130:Export Tool saves monitoring data within the range of Jan. 1, 7:30 to Jan. 2, 00:00.
