HP StorageWorks Storage Mirroring for Linux User's Guide (T2558-96078, February 2008)

13 - 26
Running DTStat
You can run DTStat from the Storage Mirroring Text Client or from any command prompt.
Running DTStat from the text clients
To determine the status of DTStat or to stop or start it through the Text Client, use the statslog status, statslog
start
, or statslog stop commands.
Starting DTStat
Stopping DTStat
Determining the status of DTStat
Command STATSLOG START
Description Starts the DTStats statistics logging utility.
Syntax
STATSLOG START <machine> [TO <filename>] [EVERY <minute>] [MAXSIZE <kilobytes>]
Options machine—Name of the machine
filenameAny valid path and filename to which the statistical information will be logged
minutesThe number of minutes to write to the log file
kilobytes—The maximum file size in kilobytes
Examples
statslog start indy to dtstat.sts every 20 maxsize 200000
Notes The default settings are statistic.sts.
The default interval is every 5 minutes.
The default file size is 10485760 bytes (10 MB).
Options that contain non-alphanumeric characters must be enclosed in quotation marks.
Commatnd STATSLOG STOP
Description Stops the DTStats statistics logging utility.
Syntax
STATSLOG STOP <machine>
Options machineName of the machine
Examples
statslog stop indy
Notes Machine names that contain non-alphanumeric characters must be enclosed in quotation marks.
Command STATSLOG STATUS
Description Identifies whether or not the DTStats statistics logging utility is currently running
Syntax
STATSLOG STATUS <machine>
Options machineName of the machine
Examples
statslog status indy
Notes Machine names that contain non-alphanumeric characters must be enclosed in quotation marks.