Connstat Examples

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

ConnStat Examples

Example 1: Generating the NTFRS SETS Output

ConnStat organizes the output of the NtfrsUtl tool, specifically the output generated when NtfrsUtl is run with the sets parameter. This example creates output that will be used by ConnStat. Type the following at the command line:

ntfrsutl sets >ntfrs_sets.txt

This command generates an output file called Ntfrs_sets.txt in the current directory. The command must be run on a computer that is a replica set member.

Example 2: Using ConnStat to Parse an NtfrsUtl sets Datafile

This example parses the data file generated in Example 1: Generating the NTFRS SETS Output and then displays the results to the screen. Type the following at the command line to save the ConnStat report to a file in the current directory:

connstat.cmd ntfrs_sets.txt >connstat_out.txt

This command runs the ConnStat script against the Ntfrs_sets.txt file, which was generated by the NtfrsUtl sets command and saves the resulting output in a file named Connstat_out.txt in the current directory.

See Also

Concepts

Connstat Overview
Connstat Remarks
Connstat Syntax
Alphabetical List of Tools
Topchk.cmd
Rsdir Overview
Rsdiag Overview
Iologsum Overview
Health_chk Overview
Ftonline Overview
Filever Overview
Efsinfo Overview
Dmdiag Overview
Dskprobe Overview
Diruse Overview
Dfsutil Overview
Cabarc Overview
Bitsadmin Overview