locked
Command to list services under one pid? RRS feed

  • Question

  • Is there any command that I can type in the tasklist command prompt window that will list all services under one identifiable pid?  
    Thursday, July 28, 2011 2:37 PM

Answers

  • Use

    tasklist /svc /fi "pid eq 1120"

    assuming 1120 is the PID you want to query.

    If you enter tasklist /? you'll get a list of available commands and filter switches.


    SC Tom

    • Marked as answer by Arthur Xie Friday, August 5, 2011 9:09 AM
    Monday, August 1, 2011 5:34 PM
  •  After you enter tasklist /svc, the services that are loaded on each svchost.exe will be listed.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    • Marked as answer by Arthur Xie Friday, August 5, 2011 9:09 AM
    Monday, August 1, 2011 6:07 AM

All replies

  •  After you enter tasklist /svc, the services that are loaded on each svchost.exe will be listed.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    • Marked as answer by Arthur Xie Friday, August 5, 2011 9:09 AM
    Monday, August 1, 2011 6:07 AM
  • In process monitor you can hover the mouse over an svchost and see what services are running.  It works with dllhost and taskhost as well.

     


    Monday, August 1, 2011 5:17 PM
  • Use

    tasklist /svc /fi "pid eq 1120"

    assuming 1120 is the PID you want to query.

    If you enter tasklist /? you'll get a list of available commands and filter switches.


    SC Tom

    • Marked as answer by Arthur Xie Friday, August 5, 2011 9:09 AM
    Monday, August 1, 2011 5:34 PM