The set interval command sets the sampling interval (in minutes) for collecting performance data.
Command results
When you change the sampling interval, the existing performance data is discarded, and then data collection starts using the new sampling interval. If you need the existing performance data, export it before you change the sampling interval.
The number of plots (areas in which performance data is collected) differs depending on the number of CUs for which data is collected (target CUs) and the sampling interval.
To check the number of target CUs, use the show cu command. To specify the target CUs for data collection, use the add cu and remove cu commands.
- If the number of the target CUs is 32 or fewer, specify an integer from 1 to 15 for the sampling interval (unit: minute). The number of plots will be 1440.
- If the number of the target CUs is 33 or more, specify a value for the sampling interval that is a multiple of 5 in the range from 5 to 60 (unit: minute). The number of plots will be 288.
Syntax
Windows:
runWin.bat set interval -ip <ip-address> [-login <user-name> <password>] [-proxy {<ip-address> | <host-name>} <port-number> <user-name> <password>] -interval <sampling-interval> -q
UNIX:
runUnix.sh set interval -ip <ip-address> [-login <user-name> <password>] [-proxy {<ip-address> | <host-name>} <port-number> <user-name> <password>] -interval <sampling-interval> -q
Options and parameters
- -ip {ip-address | host-name}
Specifies the service IP address (IPv4 or IPv6 format) or host name.
- -login <user name> <password>
Specifies the user name and password of the Export Tool 2 user. If this option is omitted, you are prompted to enter your user name and password.
- -proxy <IP address or host name> <port number> <user name> <password>
If the management client is connected to the storage system through a proxy server, this option specifies the proxy information (IP address [IPv4 or IPv6 format] or host name, port number, user name and password). If <user name> and <password> are omitted here, but <user name> and <password> are specified for the -login parameter, the proxy is used without authentication. If <user name> and <password> are omitted and the -login parameter is omitted, you are prompted to enter the user name and password for the proxy server.
- -interval <sampling interval>
Specifies the sampling interval (in minutes). You must specify this parameter.
- If the number of the target CUs is 32 or fewer, specify an integer from 1 to 15 (unit: minute).
- If the number of the target CUs is 33 or more, specify a value that is a multiple of 5 in the range from 5 to 60 (unit: minute).
- -q
Specifies whether to run the command with or without prompting you to confirm that the accumulated data will be discarded before continuing the processing.
This parameter is optional:
- When specified: The command runs without requesting confirmation. The accumulated data is discarded and the sampling interval is set.
- When omitted: A message appears to requesting you to confirm discarding the accumulated data. You must respond to the request for processing to continue.
Output example
In this example, the service IP address is IPv4 address with 192.168.0.100, the user ID is User, the password is Pass, and the sampling interval is 50.
c:\export> runWin.bat set interval -ip 192.168.0.100 -login User Pass -interval 50
Output results
Interval: 50 min set interval command success