HP StorageWorks Storage Mirroring scripting guide (T2558-96074, February 2008)

13 - 47
StatsLog Start
StatsLog Status
StatsLog Stop
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
filename—Any valid path and filename to which the statistical information will be logged
minutes—The number of minutes to write to the log file
kilobytes—The maximum file size in kilobytes
Examples
statslog start alpha to "dtstat.sts" every 20 maxsize 200000
Notes The default settings are the file name statistic.sts, a five (5) minute interval, and a file size of
10485760 bytes (10 MB).
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 machine—Name of the machine
Examples
statslog status alpha
Notes Machine names that contain non-alphanumeric characters must be enclosed in quotation marks.
Command STATSLOG STOP
Description Stops the DTStats statistics logging utility.
Syntax
STATSLOG STOP <machine>
Options machine—Name of the machine
Examples
statslog stop alpha
Notes Machine names that contain non-alphanumeric characters must be enclosed in quotation marks.