set

Description

The set subcommand starts or ends monitoring the storage system (for example, starts or ends collecting performance statistics). The set subcommand also specifies the sampling interval (interval of collecting statistics).

If you want to use the set subcommand, you must use the login subcommand (see login to log on to the SVP. Ensure that the set subcommand runs immediately before Export Tool finishes.

Executing the set subcommand generates an error in the following conditions:

If an error occurs, do the following:

olh-note.gif Following are notes of the set command.

Syntax

set [switch={m|off}]

Operands

Operand

Description

switch={m|off}

To start monitoring, specify the sampling interval (interval of collecting statistics) of monitoring data at m. Specify a value between 1 and 15 in minutes. m is the sampling interval by Performance Monitor.

To end monitoring, specify off.

If this operand is omitted, the set subcommand does not make settings for starting or ending monitoring.

Examples

The following command file saves port statistics and then ends monitoring ports:

ip 158.214.135.57 
dkcsn 123456 
login expusr passwd 
show 
group Port
range 200604010850:200604010910
apply 
set switch=off

The following command file starts monitoring remote copy operations. The sampling time interval is 10 minutes:

ip 158.214.135.57 
dkcsn 123456 
login expusr passwd 
set switch=10