|
9.3.3 The typeperf Utility
The
typeperf
command-line utility is similar to relog command-line utility. It allows you to write
performance log file data onto a command window or a file. The syntax for this command is:
Typeperf {counter
[counter ...] | [
-cf <file_name
> | [
-q
[
object
] | [
-qx
[
object
]} [options]
TABLE 9.4: Typeperf Command Parameters and Options
Option
Description
counter
[counter ...]
Lists the performance counters to monitor.
-cf <file_name>}
File listing counters monitor.
-q
[
object
]
Lists installed counters for the
object
without listing
instances.
-qx
[
object]
Lists installed counters and instances for the
object
.
-f {bin | csv | tsv |
SQL}
Specifies the file format for output file. The format can
be binary, commas separated, tab separated or SQL
database.
-si [[HH]:MM:]SS
The time interval for the performance counter in hours,
minutes, and seconds. The default is 1 second.
-o <path>
The output file and the path where the file is located.
-sc <samples>
Number of samples to collect.
-config <file_name>
File containing command options.
-s <server_name>
Specifies the server to monitor if not specified in the
counter
path.
-y
Answers “yes” to all questions without prompting.
|