Performance command line utilities

When network issues arise, you can get quick help from these 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 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

Dig deeper on Network Monitoring

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

0 comments

Oldest 

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:

-ADS BY GOOGLE

SearchSDN

SearchEnterpriseWAN

SearchUnifiedCommunications

SearchMobileComputing

SearchDataCenter

SearchITChannel

Close