Home > Commands N-Z > Commands T

TYPEPERF


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Writes performance counter data to the command window, or to a supported log file format. To stop, press CTRL+C (^C).


Syntax

TYPEPERF /?

TYPEPERF [-c path [path ...] | -cf file_name] [-config file_name] [-f format] [-o file_name] [-q [object]] [-qx [object]] [-s \\computer_name] [-sc samples] [-si [mm:]ss] [-y]


Parameters

none


Switches
/? (NTXP)
Displays help.
-c path [path ...] (NTXP)
Specifies the performance counter path to log. To list multiple counter paths, separate each command path by a space.
-cf file_name (NTXP)
Specifies the file name of the file that contains the counter paths that you want to monitor, one per line.
-config file_name (NTXP)
Specifies the pathname of the settings file that contains command-line parameters.
The contents of the setting file used should have the format:
      [command_option]
      value
where command_option is a command-line option and value specifies its value:
      [-c]
      \Windows\mypath
      [-o]
      report.csv
      [-s]
      mysystem
-f format (NTXP)
Specifies the output file format. File formats are:
-o file_name (NTXP)
Specifies the pathname of the output file. Defaults to stdout.
-q [object] (NTXP)
Displays and queries available counters without instances. To display counters for one object, include the object name.
-qx [object] (NTXP)
Displays and queries all available counters with instances. To display counters for one object, include the object name.
-s \\computer_name (NTXP)
Specifies the system to monitor if no server is specified in the counter path.
-sc samples (NTXP)
Specifies the number of samples to collect. Default is to sample until you press CTRL+C (^C).
-si [mm:]ss (NTXP)
Specifies the time between samples. Default is one second.
-u (NT2003)
Answer yes to all questions without prompting.

Related

none.


Notes

none.


Examples

none.


Errorlevels

none.


Availability
External
DOS
none
Windows
none
Windows NT
NTXP NT2003