Listing All Running Processes

This section provides a tutorial example on how to use command 'tasklist' to get a list of all processes that are currently running.

To get a simple list of all running processes on your Windows system, you can run the "tasklist" command with default options:

C:\herong>tasklist

Image Name                 PID Session Name Session# Mem Usage
========================= ==== ============ ======== =========
System Idle Process          0                     0      28 K
System                       4                     0     232 K
smss.exe                   504                     0     400 K
csrss.exe                  556                     0   6,332 K
winlogon.exe               584                     0   1,944 K
services.exe               628                     0   8,464 K
lsass.exe                  640                     0   1,692 K
svchost.exe                800                     0   3,988 K
svchost.exe                860                     0   4,444 K
svchost.exe                952                     0  17,740 K
svchost.exe               1060                     0   3,500 K
svchost.exe               1104                     0   3,308 K
spoolsv.exe               1320                     0   7,136 K
msdtc.exe                 1520                     0   5,068 K
httpd.exe                 1612                     0   4,612 K
FrameworkService.exe      1640                     0   5,728 K
Mcshield.exe              1676                     0  64,116 K
VsTskMgr.exe              1700                     0     376 K
httpd.exe                 1720                     0   6,100 K
naPrdMgr.exe              1736                     0   1,172 K
MsDtsSrvr.exe             1788                     0  14,120 K
wdfmgr.exe                2300                     0   1,912 K
hpqwmiex.exe              2344                     0   4,200 K
explorer.exe              3200                     0  27,924 K
smax4pnp.exe              3396                     0   4,224 K
accelerometerST.exe       3412                     0   1,752 K
SynTPEnh.exe              3420                     0   5,032 K
QLBCTRL.exe               3428                     0   5,304 K
Scheduler.exe             3460                     0   6,980 K
CLI.exe                   3476                     0   7,196 K
shstat.exe                3484                     0     632 K
UpdaterUI.exe             3492                     0   1,716 K
GoogleToolbarNotifier.exe 3544                     0     452 K
YahooMessenger.exe        3584                     0  39,496 K
wmiprvse.exe              3836                     0   5,336 K
ApacheMonitor.exe         3872                     0   2,564 K
MDM.EXE                   2480                     0   3,008 K
CLI.exe                   3536                     0   7,224 K
firefox.exe               5892                     0  45,596 K
cmd.exe                   3224                     0   2,988 K
wmiprvse.exe              4548                     0   6,220 K
tasklist.exe              4660                     0   4,468 K

Notice that the default option provides only the memory usage of each process. To get more information, you need to use the verbose option as described in the next section.

Table of Contents

 About This Book

 Introduction to Microsoft Windows

 Introduction to Windows Explorer

 Introduction to Internet Explorer

 "Paint" Program and Computer Graphics

 GIMP - GNU Image Manipulation Program

 JPEG Image File Format Quality and Size

 GIF Image File Format and Transparent Background

 "WinZip" - ZIP File Compression Tool

 "WinRAR" - RAR and ZIP File Compression Tool

 FTP Server, Client and Commands

 "FileZilla" - Free FTP Client and Server

 Web Server Log Files and Analysis Tool - "Analog"

 Spyware Adware Detection and Removal

 IE Addon Program Listing and Removal

 Vundo (VirtuMonde/VirtuMundo) - vtsts.dll Removal

 Trojan and Malware "Puper" Description and Removal

 VSToolbar (VSAdd-in.dll) - Description and Removal

 Spybot - Spyware Blocker, Detection and Removal

 Setting Up and Using Crossover Cable Network

 Home Network Gateway - DSL Modem/Wireless Router

 Windows Task Manager - The System Performance Tool

"tasklist" Command Line Tool to List Process Information

 What Is "tasklist"

Listing All Running Processes

 Showing Detailed Information on Processes

 Showing Services under Each Process

 Showing All DLL Files Used by Each Process

 Finding All Processes Using NETAPI32.DLL

 "msconfig" - System Configuration Tool

 Configuring and Managing System Services

 Windows Registry Key and Value Management Tools

 Startup Programs Removal for Better System Performance

 Winsock - Windows Sockets API

 Java on Windows

 Glossary of Terms

 Outdated Tutorials

 References

 Full Version in PDF/ePUB