How to View Active and Idle Processes in Windows?
Infopackets Reader 'mg_barrett' writes:
" Dear Dennis,
Is there a way to show a list of running processes (programs) in Windows? Also, how do I determine if a process is active or not? "
My response:
A process is said to be active if there is CPU or memory activity associated with the process. The opposite is also true; if there is no CPU or memory activity reported by a process, then it is considered to be an idle process. Process activity can be determined using various utilities mentioned below.
How to View Active and Idle Processes in Windows
You can use Windows Task Manager to view all processes running on the system to determine which ones are actively performing tasks.
Task manager can be initiated by pressing CTRL + ALT + DEL on the keyboard, or by running a command prompt ("cmd") and typing in "taskmgr", then press Enter on the keyboard. Once Task Manager is launched, you can use your mouse to click on column headings (to sort columns) by CPU or Memory to see which processes are actively consuming resources. As I stated previously, resources that are actively consumed (or used) by a process means that the process is active. In other words: if the CPU usage is constantly changing (and/or so is the memory), then the process is active.
Process Explorer is another process viewer similar to Task Manager, but provides additional information on process handles and DLLs (dynamic link libraries). This information is particularly useful for system administrators in determining which program has a particular file in use.
How to View Windows Processes using the Command Prompt
If you use the Windows command prompt ("cmd") often, there are command line utilities that perform similar functions to Task Manager, but in a non-graphical user interface (GUI) format.
Pslist is one of the best utilities for this task (in my opinion), and is part of the Windows Sysinternals library. It shows a list of processes that are running on this system, but by default does not output all running tasks continuously in a loop. To loop the output, you need to run the command "pslist -s" (with no quotes). This is similar to how the Linux "top" command operates. You can even use Pslist to view processes on a remote machine via the network.
How to View Windows Processes using the PowerShell
PowerShell is similar to the Windows command prompt, but is often used by professional system administrators on Windows Server machines. That said, PowerShell also works on Pro versions of Windows and higher (I believe). If you run Windows PowerShell, you can emulate the Linux "top" command using the following Windows PowerShell script -- simply run it directly on the PowerShell command line (or in a batch file):
while (1) { ps | sort -desc cpu | select -first 30; sleep -seconds 2; cls }
PowerShell can be initiated via the Start menu or by the command prompt. Via the command prompt, type in "powershell" and press Enter.
Alternative Process Viewers for Windows
There are many freeware Windows process viewers which I have not covered (such as tasklist, for example); you can use Google to search for more. Anyone reading this article is welcome to recommend any freeware programs that are as good or better than the ones I've already mentioned.
About the author: Dennis Faas is the owner and operator of Infopackets.com. With over 30 years of computing experience, Dennis' areas of expertise are a broad range and include PC hardware, Microsoft Windows, Linux, network administration, and virtualization. Dennis holds a Bachelors degree in Computer Science (1999) and has authored 6 books on the topics of MS Windows and PC Security. If you like the advice you received on this page, please up-vote / Like this page and share it with friends. For technical support inquiries, Dennis can be reached via Live chat online this site using the Zopim Chat service (currently located at the bottom left of the screen); optionally, you can contact Dennis through the website contact form.
Most popular articles
- Which Processor is Better: Intel or AMD? - Explained
- How to Prevent Ransomware in 2018 - 10 Steps
- 5 Best Anti Ransomware Software Free
- How to Fix: Computer / Network Infected with Ransomware (10 Steps)
- How to Fix: Your Computer is Infected, Call This Number (Scam)
- Scammed by Informatico Experts? Here's What to Do
- Scammed by Smart PC Experts? Here's What to Do
- Scammed by Right PC Experts? Here's What to Do
- Scammed by PC / Web Network Experts? Here's What to Do
- How to Fix: Windows Update Won't Update
- Explained: Do I need a VPN? Are VPNs Safe for Online Banking?
- Explained: VPN vs Proxy; What's the Difference?
- Explained: Difference Between VPN Server and VPN (Service)
- Forgot Password? How to: Reset Any Password: Windows Vista, 7, 8, 10
- How to: Use a Firewall to Block Full Screen Ads on Android
- Explained: Absolute Best way to Limit Data on Android
- Explained: Difference Between Dark Web, Deep Net, Darknet and More
- Explained: If I Reset Windows 10 will it Remove Malware?
My name is Dennis Faas and I am a senior systems administrator and IT technical analyst specializing in cyber crimes (sextortion / blackmail / tech support scams) with over 30 years experience; I also run this website! If you need technical assistance , I can help. Click here to email me now; optionally, you can review my resume here. You can also read how I can fix your computer over the Internet (also includes user reviews).
We are BBB Accredited
We are BBB accredited (A+ rating), celebrating 21 years of excellence! Click to view our rating on the BBB.
Comments
process viewer
For sheer convenience in seeing what's going on in Windows (9x through 7, maybe 8) I long ago stumbled across the free utility WinPatrol (www.winpatrol.com). It lists active tasks, services, startup tasks, delayed start, hidden files, active-x,registry monitoring, scheduled tasks and more. It doesn't show processes directly but task manager can supply that and WinPatrol lets you manipulate many of the operations. It's got a fine free edition but I have found it so useful over the years that I have chosen to upgrade to the paid edition more recently. It also warns you of changes and has even warned me of malware that slipped right through my anti-virus.