Export
CellCLI> export celldisk
Import
CellCLI> import celldisk
Assign
CellCLI> assign key
Calibrate
CellCLI> calibrate
CellCLI> calibrate force
Set
CellCLI> help set
Usage: SET <variable> <value>
Purpose: Sets a variable to alter the CELLCLI environment settings for your current session.
Arguments: variable and value represent one of the following clauses:
DATEFORMAT { STANDARD | LOCAL }
ECHO { ON | OFF }
CellCLI> set dateformat local
CellCLI> set dateformat standard
CellCLI> set echo on
CellCLI> set echo off
Spool
CellCLI> spool myCellCLI.txt
CellCLI> spool myCellCLI.txt append
CellCLI> spool myCellCLI.txt replace
CellCLI> spool off
CellCLI> spool --- Will give spool file name
Scripts execution
CellCLI> @listdisks.cli
CellCLI> start listdisks.cli
Comments
REM This is a comment
REMARK This is another comment
-- This is yet another comment
Continuation Character
CellCLI> list metriccurrent attributes name,metricObjectName,metricValue, -
objectType where alertState != 'normal' --- continuation character for queries spanned in multiple lines
Exit/Quit
CellCLI> exit
CellCLI> quit
CellCLI> export celldisk
Import
CellCLI> import celldisk
Assign
CellCLI> assign key
Calibrate
CellCLI> calibrate
CellCLI> calibrate force
Set
CellCLI> help set
Usage: SET <variable> <value>
Purpose: Sets a variable to alter the CELLCLI environment settings for your current session.
Arguments: variable and value represent one of the following clauses:
DATEFORMAT { STANDARD | LOCAL }
ECHO { ON | OFF }
CellCLI> set dateformat local
CellCLI> set dateformat standard
CellCLI> set echo on
CellCLI> set echo off
Spool
CellCLI> spool myCellCLI.txt
CellCLI> spool myCellCLI.txt append
CellCLI> spool myCellCLI.txt replace
CellCLI> spool off
CellCLI> spool --- Will give spool file name
Scripts execution
CellCLI> @listdisks.cli
CellCLI> start listdisks.cli
Comments
REM This is a comment
REMARK This is another comment
-- This is yet another comment
Continuation Character
CellCLI> list metriccurrent attributes name,metricObjectName,metricValue, -
objectType where alertState != 'normal' --- continuation character for queries spanned in multiple lines
Exit/Quit
CellCLI> exit
CellCLI> quit
No comments:
Post a Comment