Performance command line utilities

Performance command line utilities

Sometimes when issues arise on your Windows network, you need a quick way to diagnose the problem. There are several utilities that manage or monitor performance characteristics of a Windows system that can be summoned 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 to take 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. lodctr is also used to restore counter settings as well as save them and their related descriptions. You can 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

    Requires Free Membership to View

    By submitting your registration information to SearchNetworking.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchNetworking.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

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.

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 January 2004

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.