查看每个进程里运行了哪些服务(svchost 详解)

用 tasklist /SVC 列出每个进程(尤其是 svchost.exe)内部承载的服务。

Windows进程svchost 系统进程系统服务低风险
运行 `tasklist /SVC /FI "IMAGENAME eq svchost.exe"`,即可列出每个 svchost.exe 实例及其承载的服务。

01命令

命令
$ tasklist /SVC /FI "IMAGENAME eq svchost.exe"

02作用说明

Windows 会把许多后台服务打包运行在共享的 svchost.exe 进程里,普通进程列表看不出每个副本到底在干什么。/SVC 参数会在输出中附加每个进程承载的服务名,配合 /FI 过滤到 svchost.exe 或其他进程名,就能定位占用 CPU 或内存的到底是哪个服务。

03风险

风险低风险
!注意: 不要随意结束 svchost.exe 进程——一个实例可能承载多个关键服务;正确做法是停止具体的服务。

04撤销

✓无需撤销——该命令不会改变持久状态。

05来源

  • tasklist
    Microsoft Learn · vendor-doc · 2026-09-17
    依据: Syntax includes /svc which 'Lists all the service information for each process' — i.e. services hosted inside each process.
  • TaskList — List processes running on the machine
    SS64 · technical · 2026-09-17
    依据: Documents /SVC: 'List services hosted within each process' — useful for identifying the services inside svchost.exe instances.

最后验证: 2026-09-19 · 分类: 系统与设置

06相关方案