Quick Answer: Open Task Manager (Windows: Ctrl+Shift+Esc), Activity Monitor (Mac: Cmd+Space, type "Activity Monitor"), or run top (Linux). Sort by CPU usage. Find the process using the most CPU. If it's not something you need, right-click and End Task. If it's a system process, restart your computer first.
Check What's Using Your CPU
Windows
- Press Ctrl + Shift + Esc to open Task Manager
- Click More details if you see the simple view
- Click the CPU column header to sort by usage
- The process at the top is your culprit
Common high-CPU processes and what they mean:
| Process | What it is | Fix |
|---|---|---|
| System Idle Process | Not actually using CPU — ignore it | Nothing needed |
| Windows Update | Installing updates | Let it finish, restart |
| Antimalware Service | Windows Defender scanning | Wait, or exclude folders |
| WMI Provider Host | System management | Restart WMI service |
| svchost.exe | Hosts Windows services | Click to expand, find the sub-service |
| dwm.exe | Desktop Window Manager | Update GPU driver |
| SearchIndexer | File indexing | Rebuild index or limit indexed locations |
| Your browser | Too many tabs or extensions | Close tabs, disable extensions |
Mac
- Press Cmd + Space, type Activity Monitor, press Enter
- Click the CPU tab
- Click % CPU column to sort
- Double-click any suspicious process for details
Common Mac CPU hogs:
| Process | Fix |
|---|---|
| kernel_task | Thermal throttling — clean your fans, check ventilation |
| mdworker / mds | Spotlight indexing — wait for it to finish |
| WindowServer | GPU-related — close apps with heavy visuals, update macOS |
| Safari/Chrome | Close tabs and extensions |
| Photos | Processing photos/videos — let it finish |
Linux
# Interactive process monitor
top
# Or better:
htop
# Sort by CPU in top: press 'P'
# Kill a process in htop: select it, press F9, select SIGKILL
# One-liner: top 10 by CPU
ps aux --sort=-%cpu | head -11
# Specific process CPU usage
pidstat -u 1 5 # CPU per process, every 1 second, 5 samples
Quick Fixes (Try These First)
1. Restart Your Computer
Seriously — this fixes the majority of CPU issues. Runaway processes, memory leaks, and stuck services all get cleared on restart.
2. Close Unnecessary Programs
Each open app consumes CPU. Close what you are not using, especially:
- Browser tabs (each tab is a separate process)
- Video players
- Chat apps (Slack, Discord, Teams)
- Development tools (VS Code, Docker)
3. Check for Updates
- Windows: Settings → Windows Update → Check for updates
- Mac: System Settings → General → Software Update
- Linux:
sudo apt update && sudo apt upgrade
Outdated software often has CPU bugs that newer versions fix.
4. Scan for Malware
Crypto miners and botnet malware cause constant high CPU:
- Windows: Windows Security → Virus & threat protection → Quick scan
- Mac: Download and run Malwarebytes (free)
- Linux:
sudo apt install clamav && sudo clamscan -r /home
Windows-Specific Fixes
Disable Startup Programs
Many programs start with Windows and run in the background:
- Task Manager → Startup tab
- Right-click and Disable anything you do not need at startup
Fix Windows Update Stuck
Windows Update can get stuck and eat CPU for hours:
# Open Command Prompt as admin
net stop wuauserv
net stop bits
net stop cryptSvc
del /f /s /q C:\Windows\SoftwareDistribution\*
net start wuauserv
net start bits
net start cryptSvc
Then check for updates again.
Disable SearchIndexer
If SearchIndexer.exe is constantly using CPU:
- Open Services (search "services.msc")
- Find Windows Search
- Right-click → Properties → Startup type: Disabled
- Click Stop
Fix WMI Provider Host
# Open Command Prompt as admin
net stop winmgmt /y
net start winmgmt
Mac-Specific Fixes
Reset SMC (Intel Macs)
If kernel_task is high and your Mac is hot:
- Shut down your Mac
- Hold Shift + Control + Option + Power for 10 seconds
- Release all keys and power on
Rebuild Spotlight Index
If mds/mdworker is high:
sudo mdutil -E /
This rebuilds the entire Spotlight index. CPU will be high during rebuild, then drop.
Linux-Specific Fixes
Find and Kill Runaway Process
# Find the PID
ps aux --sort=-%cpu | head -5
# Kill it
kill PID # Graceful
kill -9 PID # Force
# Or by name
pkill -f "process-name"
Check for Crypto Miners
# Processes using >50% CPU
ps aux | awk '$3 > 50 {print}'
# Check for suspicious cron jobs
crontab -l
ls -la /etc/cron.d/
cat /var/spool/cron/crontabs/*
# Check network connections (miners connect to mining pools)
ss -tnp | grep ESTABLISHED
Limit a Process CPU Usage
# Limit an existing process to 50% CPU
cpulimit -p PID -l 50
# Run a command with lower priority
nice -n 19 ./my-heavy-script.sh
# Change priority of running process
renice 19 -p PID
Preventing High CPU Usage
- Keep software updated — CPU bugs get patched
- Limit startup programs — fewer background processes
- Use fewer browser tabs — each tab uses CPU and RAM
- Schedule heavy tasks — run backups, scans, and updates at night
- Monitor regularly — check Task Manager/Activity Monitor periodically
- Clean your hardware — dust buildup causes thermal throttling, which makes the CPU work harder
Related Tools
- Speed Test — check if CPU issues are affecting your network
- What's My IP — verify your connection
- Browser Info — check your browser details