Sub topic 3
Monitoring with Task Manager, Resource Monitor and Performance Monitor
This chapter assumes you can open Windows tools from the Start menu or the Run box. It also assumes you know what CPU, RAM, disk and network adapters do. You will learn which monitoring tool to use for which question, and how to read the evidence before you change anything.
Choosing the right tool
Each tool answers a different question. Start with the quickest one and move to a deeper one only when you need more detail.
| Tool | Launch command | Best for |
|---|---|---|
| Task Manager | `taskmgr` | A fast look at what is using CPU, memory, disk and network right now |
| Resource Monitor | `resmon` | Finding which process or file is behind a spike |
| Performance Monitor | `perfmon` | Recording counters over time and spotting trends |
Task Manager
Open Task Manager with Ctrl+Shift+Esc. It has these tabs:
- Processes lists running programs with their CPU, memory, disk and network use. Sort by a column to find the heaviest process.
- Performance shows live graphs for each resource, plus the amount of memory committed and the uptime.
- Startup apps lists programs that launch at sign-in and rates their startup impact. Disabling an item here stops it from starting. It does not uninstall the program.
- Users shows resource use per signed-in user.
- Details shows process IDs and lets you set priority and affinity.
- Services lists services and lets you start or stop them.
A process that shows Not responding has stopped handling window messages. Select it and choose End task. Save your work first if you can, because ending the task discards unsaved data.
Resource Monitor
Task Manager tells you that the disk is at 100 percent. Resource Monitor tells you why. Its tabs are CPU, Memory, Disk and Network. On the Disk tab you can see which file a process is reading or writing. On the Network tab you can see which remote addresses a process is talking to. That detail also helps when you suspect malware.
On the CPU tab, the Analyze Wait Chain option shows what a hung process is waiting for. It helps when a program freezes but Task Manager shows little activity.
Performance Monitor
Performance Monitor reads counters, which are named measurements such as % Processor Time or Available MBytes. Use it when a fault comes and goes, because a live graph is useless if you are not watching when it happens. You create a Data Collector Set, choose counters, let it run for hours or days, then review the log.
Useful counters include:
Processor\% Processor Timefor sustained CPU load.Memory\Available MBytesfor low memory.PhysicalDisk\% Disk Timefor a saturated disk.Network Interface\Bytes Total/secfor network load.
Worked example
A user says the PC crawls every morning. Task Manager shows disk use near 100 percent at sign-in. The Startup apps tab lists several high-impact items. Resource Monitor's Disk tab shows an update service and a backup client reading heavily. You disable the backup client's startup entry and schedule it for the evening. After a restart, disk use drops within a minute. You changed one thing, tested it, and can document the result.
Exercise
A user reports that a workstation freezes briefly a few times a day, and Task Manager looks normal whenever you check it. Which tool should you use, and how?
Show answer
Use Performance Monitor. Create a Data Collector Set with CPU, memory and disk counters, let it run through the day, then check the log for spikes that match the freezes.
Exercise
Task Manager shows 100 percent disk use. Which tool shows the specific file and process responsible?
Show answer
Resource Monitor, on its Disk tab.