;  **************************************************************************
;  Hitachi, Ltd. Proprietary Information
;  The information contained herein is confidential and proprietary
;  information of Hitachi, Ltd.
;  Reproduction, use, modification, or disclosure otherwise than
;  permitted in the Agreement is strictly prohibited.
;  **************************************************************************
;  All Rights Reserved, Copyright (C) 2011 Hitachi, Ltd.
;  **************************************************************************
;  *******+**********+**********+* HISTORY *+**********+**********+**********
;  Rev01: 2011/06/30 [Export Tool]HM対応		SJV0013:W70Q2730073
;  Rev02: 2014/05/29 [Export Tool]HM800対応		SJV0008:Z80K2730020
;  *******+*********+*********+********+*********+*********+*********+*******

Command Line Syntax

ip {ip-address|host-name} [:port-number]
  ip-address: The IP address of the SVP.
  host-name:  The host name of the SVP.
  port-number: The port number of the RMI server.

dkcsn serial-number
  serial-number: The serial number the DKC.

retry [time=m] [count=n]
  time=m:  m specifies the retry interval (1 to 59 minutes).
           If this operand is omitted, 2 minutes is assumed.
  count=n: n specifies the number of retry operations.
           If n is 0, retry operations can be repeated endlessly.
           If this operand is omitted, 3 is assumed.

login userid password
  userid:   The user ID to be used for logging into the DKC.
  password: The password of the user

show
  Outputs the range of monitoring data stored in the SVP.

group {PhyPG   [[parity-group-id]:[parity-group-id]][ ...] |
       PhyLDEV [[parity-group-id]:[parity-group-id]][ ...] |
       PhyExG  [[external-group-id]:[external-group-id]][ ...] |
       PhyExLDEV [[external-group-id]:[external-group-id]][ ...] |
       PhyProc |
       PhyMPU  |
       PG      [[parity-group-id/virtual-device-id/external-group-id]:[parity-group-id/virtual-device-id/external-group-id]][ ...] |
       LDEV    [[[parity-group-id/virtual-device-id/external-group-id]:[parity-group-id/virtual-device-id/external-group-id]][ ...] | internal | virtual] |
       LDEVEachOfCU [[[LDKC-CU-id]:[LDKC-CU-id]][ ...] | internal | virtual] |
       Port    [[port-name]:[port-name]][ ...] |
       PortWWN [[port-name]:[port-name]][ ...] |
       LU      [[port-name.host-group-id]:[port-name.host-group-id]] [ ...] |
       PPCGWWN [[ppc-group-name]:[ppc-group-name]][ ...] |
       RemoteCopy |
       RCLU    [[port-name.host-group-id]:[port-name.host-group-id]] [ ...] |
       RCLDEV  [[LDKC-CU-id]:[LDKC-CU-id]][ ...] |
       UniversalReplicator |
       URJNL   [[JNL-group-id]:[JNL-group-id]][ ...] |
       URLU    [[port-name.host-group-id]:[port-name.host-group-id]] [ ...] |
       URLDEV  [[LDKC-CU-id]:[LDKC-CU-id]][ ...] }

  PhyPG:    Specifies that the tool should export statistics about parity
            groups.
  PhyLDEV:  Specifies that the tool should export statistics about LDEVs.
  PhyExG:   Specifies that the tool should export statistics about external groups.
  PhyExLDEV:Specifies that the tool should export statistics about LDEVs in the
            external group.
  PhyProc:  Specifies that the tool should export statistics about MP.
  PhyMPU:   Specifies that the tool should export statistics about access paths,
            cache memory, and write pending rate.
  PG:       Specifies that the tool should export statistics about parity
            groups.
            Use the range subcommand if you use this operand.
  LDEV:     Specifies that the tool should export statistics about logical
            volumes.
  LDEVEachOfCU: Specifies that the tool should export statistics about logical
            Volumes each of CU.
  Port:     Specifies that the tool should export statistics about ports.
            Use the range subcommand if you use this operand.
  PortWWN:  Specifies that the tool should export statistics about host bus
            adapters (WWNs) connected to ports.
            Use the range subcommand if you use this operand.
  LU:       Specifies that the tool should export statistics about LUs.
            Use the range subcommand if you use this operand.
  PPCGWWN:  Specifies that the tool should export statistics about host bus
            adapters (WWNs) belonging to PPC groups.
            Use the range subcommand if you use this operand.
  RemoteCopy:Specifies that the tool should export statistics about
            the whole subsystem related to the remote copy function.
  RCLU:     Specifies that the tool should export statistics about LUs
            related to the remote copy function.
  RCLDEV:   Specifies that the tool should export statistics about LDEVs
            related to the remote copy function.
  UniversalReplicator: Specifies that the tool should export statistics
            about whole subsystem related to Universal Replicator.
  URJNL:    Specifies that the tool should export statistics about
            journal groups related to Universal Replicator.
  URLU:     Specifies that the tool should export statistics about LUs
            related to Universal Replicator.
  URLDEV:   Specifies that the tool should export statistics about LDEVs
            related to Universal Replicator.



range [[yyyyMMddhhmm][{+|-}hhmm]:[yyyyMMddhhmm][{+|-}hhmm]]
  Specifies the range of statistics to be exported.
  The specified range applies to statistics in the LDEV tab, the Port-LUN tab,
  and the WWN tab.
  yyyyMMddhhmm indicates a time.
  +hhmm adds the specified hours and minutes to yyyyMMddhhmm.
  -hhmm subtracts the specified hours and minutes from yyyyMMddhhmm.
  If yyyyMMddhhmm is omitted, +hhmm adds the specified hours and minutes to the
  monitoring start time, and -hhmm subtracts the specified hours and minutes
  from the monitoring end time.
  If the value on the left of the colon (:) is omitted, the monitoring start
  time is assumed.
  If the value on the right of the colon is omitted, the monitoring end time is
  assumed.

outpath path
  Specifies the directory in which files will be saved.
  If the specified directory does not exist, this subcommand creates the
  directory.
  If the operand is omitted, the current directory is assumed.

option [compress|nocompress] [ask|clear|noclear]
  compress/nocompress: Specifies whether to compress or decompress CSV files.
  If compress is specified, CSV files are compressed in ZIP format.
  ask:     Displays a message that asks whether to delete existing directories
           and files.
  clear:   Deletes subdirectories and CSV files from the directory in which CSV
           files should be saved, and then exports monitoring data.
  noclear: Overwrites files and subdirectories in the directory in which CSV
           files should be saved.

apply
  Saves monitoring data in files.
  If the group subcommand is not used, the apply subcommand does nothing.
  When the apply subcommand finishes, the settings made by the group subcommand
  will be reset.

set [switch={m|off}]
  Starts or stops monitoring.
  switch={m/off}:Turns the monitoring switch on/off.
   When m (1<=m<=15) is specified, it turns the switch on every m minutes.
   If nothing is specified, no action takes place.
  Causes of the exit code are as follows.
   1:Failed to change the mode to Modify mode
   4:No write permission
  Refer to the exit code as follows.
  ･Windows[DOS batch] : %errorlevel%
  ･UNIX[B shell] : $?
  ･UNIX[C shell] : $status

help
  Displays the on-line help.


