Home > Articles > Operating Systems, Server > Microsoft Servers

  • Print
  • + Share This
From the author of

Task Manager

Performance Monitor helps you track problems over time, but what can you do about problem processes in real time? Task Manager provides mechanisms to monitor in real time and to resolve performance problems. For example, say you have a hunch that cpustres.exe is your system's CPU hog. To activate Task Manager, press Ctrl+Alt+Del and click Task Manager. Alternatively, you can run taskmgr.exe from the command line. After you start this tool, you can view numerous columns of performance data on the Processes tab. The amount of data available on Win2K's Task Manager Processes tab is much greater than on NT 4.0's Task Manager Processes tab—particularly finer-grain I/O information is available on a per-process basis (such as I/O reads, I/O writes). Within the Processes view, you can quickly determine what amount of CPU, memory, and disk resources each process is consuming. The Applications tab lets you see which processes or applications are not responding.

To find out whether cpustres.exe is your system's CPU hog, select the Processes image name column to place the process list in alphabetical order. This action simplifies finding cpustres.exe. After you find the filename, highlight it by clicking it, and then right-click it. Task Manager presents you with several system control options, which Table 3 defines. You can lower cpustres.exe's priority by selecting Set Priority, BelowNormal, as Figure 3 illustrates.

Table 3 Task Manager System Control Options

Option Purpose
End Process If the process isn't crucial, you can select this option and stop the process. This action might let another critical process get CPU time and operate properly.
End Process Tree Some processes have multiple threads that might act independently. You can select this option to bring your system under control.
Set Priority You can select this option if you don't want to kill the process, but you want it to have less CPU time. Lowering a process's priority level lowers its access to CPU cycles.
Set Affinity This option is available only on multi-CPU systems. You can select this option to bind an application to a specific CPU or set of CPUs to manage CPU usage. For example, if you have four CPUs, and one application is hogging all four CPUs, you can restrict the application to only one CPU so that other applications can use the freed resources.

Figure 3

In the unlikely event that an application has gone astray and you must terminate it, some applications won't terminate when you select this Task Manager option, even if you have administrator privileges. In this situation, you can use the Microsoft Windows 2000 Resource Kit kill.exe f process ID command to terminate the application. You can add the process ID column that corresponds to the application that you want to kill to Task Manager. However, this command is powerful and can crash your system.

  • + Share This
  • 🔖 Save To Your Account