Home > Windows Server Tips > Windows Systems Management and Administration > Performance Logs and Alerts: A guide to the Windows Server 2003 utility
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS SYSTEMS MANAGEMENT AND ADMINISTRATION

Performance Logs and Alerts: A guide to the Windows Server 2003 utility


Rahul Shah, Contributor
03.02.2007
Rating: -4.00- (out of 5)


Expert advice on Windows-based systems and hardware
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Windows Server 2003 comes with two performance monitoring tools which give administrators the data they need to find bottlenecks and for troubleshooting Windows.

I discussed System Monitor a previous article. In this tip I'll discuss the second tool, Performance Logs and Alerts.

The Performance Logs and Alerts utility has two types of performance-related logs: counter logs and trace logs. These logs are used for advanced performance analysis and data logging over a period of time. The utility also has a mechanism to trigger alerts.

Some performance analysis improvements are new in Windows Server 2003. One is the ability to run log collections under different accounts. For example, if you need to log data from a remote server that requires administrator privileges, the system will allow you to specify an account with the necessary permissions using the Run As feature. Another improvement is the ability to support log files greater than 1GB. Performance data can also be appended to an existing log file because of the new log file format.

Note: Data collection occurs regardless of whether a user is logged on to the server being monitored because logging runs as a service.

The three components to Performance Logs and Alerts are trace logs, counter logs and alerts.

  • Trace logs collect event traces. They provide measurement of performance associated with events related to system and nonsystem providers. Data is sent to the logs immediately as an event occurs and is measured continuously in a stream from the beginning of an event to its end. This is different from the way the System Monitor measures data. System Monitor measures data using sampling.
  • Counter logs record sampled data about system services, threads, and hardware resources based on objects in System Monitor. This utility uses counters the same way System Monitor does.
  • Alerts provide a function used to define a counter value that will trigger an alert. When an alert is triggered, the alert function can be set up to perform some action, such as sending a network message, executing a program, or starting a log.

    Alerts are useful for notification purposes in times of emergency (unusual activity that does not occur often) such as bandwidth saturation to or from an NIC hosting a critical application. Alerts provide notification when a particular resource performance value exceeds or drops below a threshold, baseline or set value.

Configuring trace logs

Configuring and enabling trace logs to monitor the activities of an application or environment variable is simply a matter of creating a trace log filename and enabling logging. To create a trace log:

  1. Launch the Performance monitoring tool from Start -> Programs -> Administrative Tools -> Performance.
  2. Double-click Performance Logs and Alerts and click once on trace logs.
  3. Right-click a blank area of the details pane on the right of the window and click New Log Settings.
  4. In the Name field, type the name of the trace log you want to create. Click OK.

For a list of installed providers and their status (enabled or not), click Provider Status in the General tab. By default, the Nonsystem Providers option is selected to keep trace logging overhead to a minimum. Click Events Logged by System Provider and check the boxes as appropriate to define events for logging.

On the Log File tab, you can configure the log to be circular, so that when the log file reaches a predetermined size, it will be overwritten.

About the author: Rahul Shah currently works at a software firm in India, where he is a systems administrator maintaining Windows servers. He has also worked for various software firms in testing and analytics, and also has experiences deploying client/server applications in different Windows configurations.

More information on this topic:


Rate this Tip
To rate tips, you must be a member of SearchWindowsServer.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Windows Systems Management and Administration
Tips for Windows domain controller optimization
Quick hits: Troubleshooting service account failure, batch job execution
Case Study: Troubleshooting Windows service dependency failures
Troubleshooting common Windows service failures
How to format NTFS: More tricks to improve file system performance
Key enhancements to SCCM give admins more control over assets, licensing
Windows scripting secrets for disk quota management
Optimizing NTFS file system performance
The new Microsoft System Center: What happened to SMS and MOM?
TeraCopy beefs up Windows file copy operations

Windows System and Network Performance Monitoring
Quick hits: Troubleshooting service account failure, batch job execution
Troubleshooting common Windows service failures
Monitor network bandwidth with CyberGauge
Optimizing NTFS file system performance
How to receive automatic notification of file changes
Sysinternals TCPView monitors network connections on Windows systems
Create data collector sets through Vista's Performance Monitor
Data collector sets simplify monitoring of Vista performance
Performance monitoring in Windows: An overview
RRAS utility in Windows Server 2003 traces network problems

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

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.

HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2004 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts