HOW TO: Be Reminded When Your Computer Resources Are Running Low in Windows Server 2003 (324795)
The information in this article applies to:
- Microsoft Windows Server 2003, Datacenter Edition
- Microsoft Windows Server 2003, Enterprise Edition
- Microsoft Windows Server 2003, Standard Edition
- Microsoft Windows Server 2003, Web Edition
- Microsoft Windows Server 2003, 64-Bit Datacenter Edition
- Microsoft Windows Server 2003, 64-Bit Enterprise Edition
- Microsoft Windows Small Business Server 2003, Standard Edition
- Microsoft Windows Small Business Server 2003, Premium Edition
This article was previously published under Q324795 For a Microsoft Windows 2000 version of this article,
see
300237. IN THIS TASKSUMMARY This step-by-step article describes how to configure your
Windows Server 2003-based server to inform you when your computer resources are
running low. Programs in Windows Server 2003 define the performance data it
collects in terms of objects, counters, and instances. A performance object is
any resource, program, or service that can be measured. You can use System
Monitor and performance logs and alerts to select performance objects,
counters, and instances to collect and display data about the performance of
system components or installed software. You can set an alert on a
counter so that a message is sent, a program starts, or a log starts when the
selected counter's value is above or below a specified
setting.
back to the top
How to Add Counters to System Monitor- Click Start, point to Administrative Tools, and then click Performance. If you select an object on a remote computer, you may experience
a short delay as System Monitor refreshes the list to reflect objects that are
present on that computer.
- Right-click the System Monitor Details pane, and then click
Add Counters.
- To monitor any computer on which the monitoring console is
run, click Use local computer counters. Or, to monitor a
specific computer regardless of where the monitoring console is run, click
Select counters from computer, and then specify a computer
name.
- Under Performance object, click an object
to monitor. By default, the Processor object is selected.
- Click All counters or click Select counters from the list, and then click one of the list items.
- Click Add.
back to the top
How to Define Counters and Thresholds for an Alert- Click Start, point to Administrative Tools, and then click Performance.
- Double-click Performance Logs and Alerts,
and then click Alerts.
- Right-click Alerts, click New Alert Settings, type a name for the alert, and then click OK.
- Click the General tab, type a descriptive comment for the alert, and then click Add.
- For each counter or group of counters that you want to add
to the log, follow these steps:
- To monitor counters from the computer on which the
Performance Logs and Alerts service will run, click Use local computer
counters.
Or, to monitor counters from a specific computer
regardless of where the service is run, click Select counters from
computer, and then specify the name of the computer you want to
monitor. - Under Performance object, select an
object to monitor.
- Then select one or more counters to monitor.
- To monitor all instances of the selected counters,
click All Instances. Note that binary logs can include instances that are not
available at log startup but that subsequently become available. Or, to monitor
particular instances of the selected counters, click Select instances
from list, and then click one or more instances to monitor.
- Click Add, and then click Close.
- In the Alert when the value is box, click Under or Over. In the Limit box, specify the value that triggers the alert.
- In the Sample data every box, specify the
amount and the unit of measure for the update interval.
- Click the Action tab to determine which actions occur when an alert is
triggered.
- To record the alert in the Event Viewer logs, click to
select the Log an entry in the application event log check
box.
- To send an alert message to a computer, click to select the
Send a network message to check box, and then type the name of
the computer you want to receive the alert message.
- Click to select the Start performance data
log check box to start a log file.
- Click Run this program if you want a
program to start when the alert criteria is reached. You can type the path to
the program directly or click Browse to manually select the program you want to use.
- Click the Schedule tab, and then configure the appropriate settings to start and
stop logging either manually or at a scheduled time.
back to the top
How to Choose Which Data to Monitor Start by monitoring the activity of the following components in
the following order:
- Memory
- Processors
- Disks
- Network
The following list shows the minimum counters that are
recommended for server monitoring. Note that when you examine specific
resources, you should include other counters for the associated performance
object.
- Component: Disk
Performance aspect that is being
monitored: Usage Counters to monitor:
- Physical Disk\ Disk Reads/sec
- Physical Disk\ Disk Writes/sec
- LogicalDisk\ % Free Space
You must interpret the % Disk Time counter carefully.
Because the _Total instance of this counter may not accurately reflect
utilization on multiple-disk computers, it is important to use the % Idle Time
counter also. Note that these counters cannot display a value that exceeds 100
percent.
- Component: Disk
Performance aspect that is being
monitored: Bottlenecks Counters to monitor: Physical Disk\ Avg. Disk Queue
Length (all instances) - Component: Memory
Performance aspect that is being
monitored: Usage Counters to monitor:
- Memory\ Available Bytes
- Memory\ Cache Bytes
- Component: Memory
Performance aspect that is being
monitored: Bottlenecks or leaks Counters to monitor:
- Memory\ Pages/sec
- Memory\ Page Reads/sec
- Memory\ Transition Faults/sec
- Memory\ Pool Paged Bytes
- Memory\ Pool Nonpaged Bytes
Although the following components are not specifically
Memory object counters, they can be useful for memory analysis:
- Paging File\ % Usage object (all instances)
- Cache\ Data Map Hits %
- Server\ Pool Paged Bytes
- Server\Pool Nonpaged Bytes
- Component: Network
Performance aspect that is being
monitored: Throughput Counters to monitor:
- Protocol transmission counters (varies with networking
protocol); for TCP/IP:
- Network Interface\ Bytes total/sec
- Network Interface\ Packets/sec
- Server\ Bytes Total/sec or Server\ Bytes
Transmitted/sec
- Server\ Bytes Received/sec
You may want to monitor other objects for network and
server throughput as described in monitoring network
activity.
- Component: Processor
Performance aspect that is being
monitored: Usage Counters to monitor: Processor\ % Processor Time (all
instances) - Component: Processor
Performance aspect that is being
monitored: Bottlenecks Counters to monitor:
- System\ Processor Queue Length (all
instances)
- Processor\ Interrupts/sec
- System\Context switches/sec
back to the top
REFERENCES For more related information, view the topics that are
listed in the "Monitoring Performance" topic in Windows Server 2003
Help.
back to the top
Modification Type: | Major | Last Reviewed: | 4/5/2004 |
---|
Keywords: | kbMgmtServices kbHOWTOmaster KB324795 kbAudITPro |
---|
|