Page 1 of 2 12 LastLast
Results 1 to 15 of 24
  1. #1
    3 Star Lounger
    Join Date
    Jul 2001
    Location
    San Jose, California, USA
    Posts
    290
    Thanks
    0
    Thanked 0 Times in 0 Posts

    SVCHOST (Pro SP1)

    My system is sometimes so slow it seems to have stopped altogether. It's a 2.4GHz P4 with 512 MB of RAM so it shouldn't be. I checked the Task Manager and it seems to be SVCHOST. There are four instances of this running; one as a local service, one as a network service and two used by the system. The problem seems to be one of the system uses, as it is using 96% of the CPU. How can I find out what is going on, and how do I stop SVCHOST from hogging the system like this. MSKB article 314056 contains some information, but I don't know how to interpret it to help with my problem.

  2. #2
    Uranium Lounger viking33's Avatar
    Join Date
    Jun 2002
    Location
    Cape Cod, Massachusetts, USA
    Posts
    6,308
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: SVCHOST (Pro SP1)

    Andrew,
    I also have the same 4 occurances of svchost in the same services, however, they don't take up more than a few % of the CPU total. You may want to try looking into the listing of the one that shows high useage.

    Svchost is a generic host process that hosts services run from DLLs. During development, it's customary to separate new or changing services to increase the reliability and ease of troubleshooting; thus, on a beta OS version, you see more svchost processes running than on a release version.

    To find out what's inside each copy of svchost.exe, use the Resource Kit Support Tools' tlist.exe (with the -s switch). (You need to install the Support Tools from supporttools on your product CD-ROM; they don't install by default.)
    This list may show you just what is gobbling up those useage times.

    Bob
    BOB
    http://lounge.windowssecrets.com/S/flags/USA.gif http://lounge.windowssecrets.com/S/f...sachusetts.gif


    Long ago, there was a time when men cursed and beat on the ground with sticks. It was called witchcraft.
    Today it is called golf!

  3. #3
    Silver Lounger Bruce K's Avatar
    Join Date
    Apr 2002
    Location
    Phoenix, Arizona, USA
    Posts
    1,876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: SVCHOST (Pro SP1)

    Hi, Bob ~

    I would like to know more about how to use the -s switch with tlist.exe.

  4. #4
    Uranium Lounger viking33's Avatar
    Join Date
    Jun 2002
    Location
    Cape Cod, Massachusetts, USA
    Posts
    6,308
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: SVCHOST (Pro SP1)

    Hi Bruce,
    That info was taken from an article by John Savil. More detail is given at: http://www.ntfaq.com/Articles/Index.cfm?ArticleID=20609

    Bob
    BOB
    http://lounge.windowssecrets.com/S/flags/USA.gif http://lounge.windowssecrets.com/S/f...sachusetts.gif


    Long ago, there was a time when men cursed and beat on the ground with sticks. It was called witchcraft.
    Today it is called golf!

  5. #5
    Silver Lounger Bruce K's Avatar
    Join Date
    Apr 2002
    Location
    Phoenix, Arizona, USA
    Posts
    1,876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: SVCHOST (Pro SP1)

    Right on! <IMG SRC=http://www.krymow.com/images/yougo.gif> Thank you!

  6. #6
    3 Star Lounger
    Join Date
    Jul 2001
    Location
    San Jose, California, USA
    Posts
    290
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: SVCHOST (Pro SP1)

    Bob,

    I had installed the support tools but there is no tlist amongst them and tlist is not mentioned in the release notes. What gives?

  7. #7
    Uranium Lounger viking33's Avatar
    Join Date
    Jun 2002
    Location
    Cape Cod, Massachusetts, USA
    Posts
    6,308
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: SVCHOST (Pro SP1)

    Andrew,
    Strange goings on. MS advises that tlist was replaced with <span style="background-color: #FFFF00; color: #000000; font-weight: bold">tasklist.exe </span hi> in Win XP. Tlist.exe was a Win200/NT prog. HOWEVER, now it seems that tasklist is amongst the missing also. Supposedly, you would type start/run/cmd/tasklist /? and get a list of switches for tasklist. Now all I get is that it isn't recognized as an internal or external command, operable program or batch file. ?????
    I've got to do some searching around to try to find out the where-abouts of this thing. Seaching the MSKB turns up a reference to svchost and the instructions to run tasklist as described above, but NG?
    I'll keep you posted on this. <img src=/S/bummer.gif border=0 alt=bummer width=15 height=15>

    Bob
    BOB
    http://lounge.windowssecrets.com/S/flags/USA.gif http://lounge.windowssecrets.com/S/f...sachusetts.gif


    Long ago, there was a time when men cursed and beat on the ground with sticks. It was called witchcraft.
    Today it is called golf!

  8. #8
    3 Star Lounger
    Join Date
    Jul 2001
    Location
    San Jose, California, USA
    Posts
    290
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: SVCHOST (Pro SP1)

    Bob,

    Tasklist.exe is installed with Win XP. That's why it's not in the support tools. But it doesn't work the way you described tlist. It seems you have to specify the dll you want to check for and it will list all the processes using it. I haven't fully explored all the parameters yet, but it certainly doesn't seem to do what tlist did.

  9. #9
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: SVCHOST (Pro SP1)

    Check out "Help and support" and search on tasklist, you will get the following, which is about 1/4 of the data. Be in a DOS Windows to try out the different options.

    <font color=red>
    TasklistDisplays a list of applications and services with their Process ID (PID) for all tasks running on either a local or a remote computer.

    Syntax
    tasklist[.exe] [/s computer] [/u domainuser [/p password]] [/fo {TABLE|LIST|CSV}] [/nh] [/fi FilterName [/fi FilterName2 [ ... ]]] [/m [ModuleName] | /svc | /v]

    Parameters
    /s Computer
    Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer.
    /u DomainUser
    Runs the command with the account permissions of the user specified by User or DomainUser. The default is the permissions of the current logged on user on the computer issuing the command.
    /p Password
    Specifies the password of the user account that is specified in the /u parameter.
    /fo {TABLE|LIST|CSV}
    Specifies the format to use for the output. Valid values are TABLE, LIST, and CSV. The default format for output is TABLE.
    /nh
    Suppresses column headers in the output. Valid when the /fo parameter is set to TABLE or CSV.
    /fi FilterName
    Specifies the types of process(es) to include in or exclude from the query. The following table lists valid filter names, operators, and values. </font color=red>

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

  10. #10
    3 Star Lounger
    Join Date
    Jul 2001
    Location
    San Jose, California, USA
    Posts
    290
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: SVCHOST (Pro SP1)

    Thanks Dave, but that doesn't really help. It's the same as typing 'tasklist /?' at a command prompt which I've already tried and which I discussed in my earlier post. What I want is something that does what tlist apparently did in Win2K.

  11. #11
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,585
    Thanks
    5
    Thanked 1,059 Times in 928 Posts

    Re: SVCHOST (Pro SP1)

    Andrew,
    Check out Process Explorer at http://www.sysinternals.com. There may also be something in the pstools package at sysinternals.

    hth,
    Joe
    Joe

  12. #12
    Uranium Lounger viking33's Avatar
    Join Date
    Jun 2002
    Location
    Cape Cod, Massachusetts, USA
    Posts
    6,308
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: SVCHOST (Pro SP1)

    Dave,
    I'm not even getting that far. As I described in the previous post, the tasklist command just isn't being recognized at all. A search for tasklist.exe doesn't find anything. (including system & hidden files) Yet MS says it should be there in XP !

    BTW, the red print is a dog to read with the skin I'm using. <img src=/S/confused.gif border=0 alt=confused width=15 height=20>

    Bob
    BOB
    http://lounge.windowssecrets.com/S/flags/USA.gif http://lounge.windowssecrets.com/S/f...sachusetts.gif


    Long ago, there was a time when men cursed and beat on the ground with sticks. It was called witchcraft.
    Today it is called golf!

  13. #13
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: SVCHOST (Pro SP1)

    Are you trying to do this from a "Run" pane, or a DOS window?

    All I did was go to "Start, Programs, Accessories, and then Cmd Prompt" and then type in the command tasklist and then the enter key and it ran.

    Have you turned ON show system files, if NOT Search (find) can NOT find it. You shoeld NOT need to locate it , just do as I listed above and see if that works.

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

  14. #14
    Uranium Lounger viking33's Avatar
    Join Date
    Jun 2002
    Location
    Cape Cod, Massachusetts, USA
    Posts
    6,308
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: SVCHOST (Pro SP1)

    Dave,
    This must be a difference in Home & Pro versions.

    I don't have a cmd prompt in the accesories tab. I DO try to go to start/run/ & type CMD, which brings me to command prompt. When I type tasklist, that's when I get the message mentioned in my other post, about not recognizing the command.

    I did a search for "tasklist.exe" in order to find IF the file was somewhere on the system. (show hidden & system files are enabled). I wasn't just trying to locate it and run it, just see if it was there. (it wasn't)
    So, you can't run a file if it isn't there... Why, I don't know. MS claims that it is part of XP, like tlist was a part of Win2000.

    Bob
    BOB
    http://lounge.windowssecrets.com/S/flags/USA.gif http://lounge.windowssecrets.com/S/f...sachusetts.gif


    Long ago, there was a time when men cursed and beat on the ground with sticks. It was called witchcraft.
    Today it is called golf!

  15. #15
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: SVCHOST (Pro SP1)

    I am running Pro SP1 what version are you running?

    Just fired up the wife's laptop running Home and it does NOT have tastlist.

    It is in Windows/system32 folder on the Pro machines.

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •