See What Services Are Associated with a Process?

Home -> Windows

11429 views

From the computer of: MickeyMouse (238 recipes)
Created: Nov 07, 2005


Add a comment

Add to:
Add to stumbleuponAdd to del.icio.usDigg itAdd to FURL

Your task manager shows that a process is raging out of control. What is causing a process such as svchost.exe to use up so much CPU time? Here's how to find out.

Every process can have a ton of services tied to it. When you hit cltr-alt-del and see you list of process... you really have no idea what services are running behind that process. This will show you.

1. If you have XP home, you'll need to install tasklist. You'll need to put it in your \windows\system32 folder. You can get the directions on installing it from here:
XP: Tasklist.exe - Get a List of Processes From the Command Line

2. Click Start
3. Click Run
4. Type cmd.exe and hit enter
5. In the command window type:

tasklist /svc /fi "imagename eq svchost.exe"


You can replace svchost.exe with whatever process you wish to explore.

You'll get output of all the services associated with svchost:


Image Name                   PID Services                                     
========================= ====== =============================================
svchost.exe                 1400 DcomLaunch, TermService                     
svchost.exe                 1452 RpcSs                                       
svchost.exe                 1648 6to4, AudioSrv, Browser, CryptSvc, Dhcp,     
                                 dmserver, ERSvc, EventSystem,               
                                 FastUserSwitchingCompatibility, helpsvc,     
                                 HidServ, lanmanserver, lanmanworkstation,   
                                 Netman, Nla, RasMan, Schedule, seclogon,     
                                 SENS, SharedAccess, ShellHWDetection,       
                                 srservice, TapiSrv, Themes, TrkWks, W32Time,
                                 winmgmt, wscsvc, wuauserv, WZCSVC           
svchost.exe                 1748 Dnscache                                     
svchost.exe                 1912 LmHosts, SSDPSRV, WebClient                 
svchost.exe                  480 BthServ                                     
svchost.exe                  628 stisvc                                       
svchost.exe                 2212 HTTPFilter         



You might want to check out this tasklist recipe as well:
XP Pro: List active Windows programs from command line with tasklist

Subscribe to the Tech-Recipes Newsletter

You can get tips like this delivered in your email every week!

Enter your Email

We will never, ever sell your email address or spam you.





Related recipes:

  XP: remove the WGA reminders, pop-ups and nag screens
  XP: kill a Windows process from the command line with taskkill
  XP: Add 'Services' to the right-click menu of 'My Computer'
  Create Batch File to Start or End Window Services
  XP: Tasklist.exe - Get a List of Processes From the Command Line
  XP: Set the Number CPU cycles a Running Program Receives
  Windows XP: List of Services to Disable to Increase Speed
  Windows Server 2008: Install IIS 7.0
  Vista: Set CPU Priority for Process
  Default Settings For Windows Services

 

Sponsored links

 

Login

Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.