Lodctr
Registers new Performance counter names and Explain text for a service or device driver, and saves and restores counter settings and Explain text.
Syntax
lodctr [\\ComputerName] FileName [**/s:FileName] [/r:**FileName]
Parameters
[\\ComputerName] FileName Registers the Performance counter name settings and Explain text provided in initialization file FileName. If you do not specify the ComputerName, lodctr uses the local computer by default. **/s:**FileName Saves Performance counter registry settings and Explain text to file FileName. **/r:**FileName Restores Performance counter registry settings and Explain text from file FileName.
Caution
- If you use the lodctr /r command, you will overwrite all Performance counter registry settings and Explain text, replacing them with the configuration defined in the file specified.
**/?**Displays help at the command prompt.
Remarks
- If the information that you supply contains spaces, use quotation marks around the text (for example, "Computer Name").
Examples
To save the current Performance registry settings and counter Explain text to file perf backup1.txt, type:
lodctr /s:"perf backup1.txt"
Formatting legend
Format |
Meaning |
---|---|
Italic |
Information that the user must supply |
Bold |
Elements that the user must type exactly as shown |
Ellipsis (...) |
Parameter that can be repeated several times in a command line |
Between brackets ([]) |
Optional items |
Between braces ({}); choices separated by pipe (|). Example: {even|odd} |
Set of choices from which the user must choose only one |
Courier font |
Code or program output |