Command line performance utilities

You can summon several utilities that manage or monitor performance characteristics of a Windows system from the command line. Some of these commands, such as perfmon, will launch the Windows XP Performance Monitor, which is now a console in the Microsoft Management Console (MMC). Others, like logman, do not. In the case of logman, you can use that utility to run performance counters, as well as collect events in a trace log for both your local systems as well as other connected network systems. You'll also find the tracerprt command useful; it processes your trace logs or real time data to help you create either a CSV file or a trace-analysis report. Similarly, the relog command takes performance data collected by performance counters and extract them to TSV, CSV, binary or SQL files.

There are also commands that add or modify the counters in use. In addition to logman, which can manage performance counters, you can use lodctr to register a new counter and specify the explanation text for a service or device driver. You can use lodctr to restore counter settings as well as save them and their related descriptions. Use the unldctr command to delete a service or device driver from your registry, which removes the performance counter from further use. The Management and Administration sections of the Command Line section of the Windows help system contains more explanation of the uses of these and other related commands, as do the Windows Resource Kits.

    Requires Free Membership to View

Barrie Sosinsky is president of consulting company Sosinsky and Associates (Medfield MA). He has written extensively on a variety of computer topics. His company specializes in custom software (database and Web related), training and technical documentation.

This was first published in December 2003

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.