beautypg.com

Dtstat statistics, Failover manual intervention -18, Running dtstat from the command prompt – HP Storage Mirroring V5.1 Software User Manual

Page 167

background image

19 - 31

Running DTStat from the command prompt

From a command prompt, use the

DTStat

command from the location where Storage Mirroring is

installed.

Command DTSTAT

Description

Starts the DTStats statistics logging utility from a command prompt

Syntax

DTSTAT [-p][-i <

interval

>][-t <

filename

>] [-f <

filename

>]

[-s <

filename

>] [-st <

filename

>][-IP <

address

>]

[-START <

mm/dd/yyyy hh:mm

>][-STOP <

mm/dd/yyyy hh:mm

>]

[-SERVER <

ip_address

> <

port_number

>]

Options

-p—Do not print the output to the screen

-i

interval

—Refresh from shared memory every interval seconds. If the

interval is set to zero (0), then the utility will run once and stop.

-t

filename

—Save the data from memory to the specified binary file

filename

-f

filename

—Reads from a previously saved binary file, filename, that was

generated using the -t option instead of reading from memory

-s

filename

—Saves only the connection data from the data in memory to an

ASCII, comma-delimited file, filename

-st

filename

—Saves only the target data from the data in memory to an

ASCII, comma-delimited file, filename

-f

filename1

-s

filename2

—Saves only the connection data from a

previously saved binary file, filename1, to an ASCII, comma-delimited file,

filename2

-f

filename1

-st

filename2

—Saves only the target data from a previously

saved binary file, filename1, to an ASCII, comma-delimited file, filename2

-IP

address

—Filters out the specified address in the IP address field and

prints only those entries. Specify more than one IP address by separating

them by a comma.

-START

mm/dd/yyyy hh:mm

—Filters out any data prior to the specified

date and time

-STOP

mm/dd/yyyy hh:mm

—Filters out any data after the specified date

and time

-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 -i 300

DTStat -p -i 300 -t AlphaStats.sts

DTStat -f AlphaStats.sts -s AlphaStats.csv -start

02/02/2008 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 one second.

If the statistics are not changing, DTStat will discontinue writing until

statistics begin updating again.

This manual is related to the following products: