The table below describes the sztool script command options.
sztool script Command Options |
Description |
---|---|
sztool |
If issued for the very first time, the working directory, diskinfo file and sztool.cfg file are generated. You should review the diskinfo file and then modify sztool.cfg, accordingly. You can then re-run sztool. |
sztool -c |
Assigns CDP_Window_Hours a value and run against existing data log file. Only screen output. Example: sztool -c24. |
sztool -d |
Generates the /tmp/sztool/diskinfo file. Performed automatically when you run sztool for the first time. |
sztool -g |
Generates the sztool.cfg file in /tmp/sztool. Performed automatically when you run sztool for the first time. |
sztool -h |
Prints out a help message. |
sztool -l |
When the log file is created, this command prints out the calculation results for different LFC sizes based on the existing log file. For example, sztool -l32 prints out the results when the LFC size is at 32M. sztool -l16 -l512, prints out all the calculation results from 32MB to 512MB. You cannot have spaces between -l and the LFC size number. Only screen output, there is not any delay or sleep. |
sztool -r |
Assigns Replication_Out_Hours a value and runs against the existing data log file. Only screen output. For example: sztool -r24, or sztool -r24 -l2 -l32. |
sztool -s |
Assigns Snapshot_Duration_Hours a value and runs against the existing data log file. Only screen output. Example: sztool -s12. |
sztool -x |
Executes the sztool and prints the file name and line number of the statement for debugging purposes. For debugging, use sztool_main -x to view screen output. |
sztool -v |
Prints out the sztool version number. |