New
#1
Drilling Down Into Generic Svchost & Isolating A Process
I know how to
1. Find out how much memory is being used by each Svchost
2. Find out what processes are running under each Svchost
3. Identify the Process ID (PID) for each Svchost
So the question is:
If a Svchost has multiple processes running under it how do I find out how much memory each of those processes under a generic svchost is using?
================
I believe I have figured out how to do it but I have a new question at the end of this post.
1. Click on the Windows world ball
2. Type "command prompt"
3. Right click on "command prompt" and run as Adminstrator
4. At the command prompt first type in "tasklist /svc". This will give you the "Image Name" "PID" and "Process(s)" for each PID (Product Identification Number)
5. Follow the method described below for each Process that you want to isolate.
6. RebootMethod 1: Creating an Isolated Process
What this method really does is modify one of the registry parameters for the service in question from a shared process to an isolated process. The command syntax is fairly straightforward and uses the sc config command set: sc config <service name> type= own. So for Windows Updates (wuauserv), the command would be: sc config wuauserv type= own. Note that there is a space between the '=' and 'own' - you must insert that space.
7. Now repeat steps 1 - 4 below the double dotted line above
8. Verify that the "Process" that you wanted to isolate has its own PID
9. Type in Tasklist /FI "PID eq xxxx". Where "xxxx" is the number of the PID that you just isolated. Make sure to type in the quotes as indicated.
You will now be able to see the memory usage of the process that you just isolated. Note that the image name will still show as "Svchost.exe". To verify that you are looking at the correct PID, you can run "Process Explorer", go the PID in question, right click, left click on Properties, left click on Services and you will see the service that you just isolated.
--------------------------
So now my question is:
Does isolating a service out of a Svchost and creating its own Svchost change the total amount of memory that your system is using? I would think that it would because you are adding an additional Svchost for each process that you isolate. Does anyone know?
Last edited by Buddahfan; 14 Mar 2011 at 17:45.