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

A - 4
DTStat
Command DTSTAT
Description Starts the DTStats statistics logging utility from a command prompt.
Syntax
DTSTAT [-i <interval>] [-p][-t <filename>] [-f <filename>][-s <filename> <option>]
[-SERVER <ip_address> <port_number>]
Options -i interval—Refresh from shared memory every interval seconds
-pDo not print the output to the screen
-t filenamePrint to a binary file with the name of filename
-f filenameReads a previously created DTStat binary file with the name filename
-s filename command—Used with the -f option to read in a previously created DTStat file and
create an ASCII, comma-delimited file. This file can be imported into other software tools like a
spreadsheet. This option can also use one or more of the following options:
-IP address—Filters out the specified IP address in the IP address field and prints only those
entries to the file. Specify more than one IP address by separating them by a comma.
-start timeOnly prints connection data to the file after the specified start time. The time
format is mm/dd/yyyy (month/day/year) and hh:mm (hour:minute using the 24 hour clock).
This option can be used in conjunction with the stop option below.
-stop timeOnly prints connection data to the file before the specified stop time. The format
is mm/dd/yyyy (month/day/year) and hh:mm (hour:minute using the 24 hour clock). This option
can be used in conjunction with the start option above.
SERVER ip_address port_number—Connects DTStat to the specified IP address using the
specified port number instead of to the local machine
Examples
DTStat
DTStat -i 30
DTStat -p -i 5 -t dtstats.log
DTStat -f stat.log
DTStat -f statistic.sts -s dtstat.log -start 02/02/2000 09:25
DTStat -server 206.31.4.51 1106
Notes This command is not case-sensitive.
If no options are specified, DTStat will print the output to the screen at an interval of every
second.
The IP address, start, and stop options can be used simultaneously in the same -s command.
If the statistics are not changing, DTStat will discontinue writing until statistics begin updating
again.
File names that contain non-alphanumeric characters must be enclosed in quotation marks.