(转自:Figuring out why my SVCHOST.EXE is at 100% CPU without complicated tools in Windows 7 - Scott Hanselman   原文日期:2011.03.14 )

The SvcHost.exe process hosts services that run in the background on Windows. It's literally "Service Host." You may have a dozen services or more running inside that process. More complex is that you'll sometimes see multiple SvcHost.exe's in your TaskManager.

Let me tell you now, Task Manager will not save you. You can see the PIDs for a running Service for the Services tab, but when a service goes insane, good luck nailing it down.

This inevitably leads you to questions like, "What Services are running inside what SvcHost.exe?" and "Which Service is using 100% CPU."

There's lots of ways to figure this out, but first I'll tell you that simply killing the SvcHost.exe process that is using the most CPU will also kill ALL the other services that were running inside that host process.

There's many command line ways to figure this stuff out, like

net start

or

sc query type= service

or

tasklist /svc

But this post is about doing it the easy way without lining up Process IDs and such.

WHICH SERVICE IS FREAKING OUT?

From the Start Menu, type "Resource Monitor" and run it.

Click the checkboxes to the left of each of the svchost.exe processes (or just those that you care about). Now, switch to the CPU tab:

See the names of the logical services in the middle pane? Now you can sort by the CPU column and you've got the name of your out of control process.

You can right click and try to stop or restart just the one services, or even use default browser's default search engine to "Search Online" for that service name:

This tip has helped me several times while writing and debugging services. Resource Monitor is your friend. Many folks don't' even know it's there!

Enjoy!

转载于:https://www.cnblogs.com/hellojianqun/p/4842022.html

[转] Figuring out why my SVCHOST.EXE is at 100% CPU without complicated tools in Windows 7相关推荐

  1. svchost.exe占用过高CPU和内存的解决方案

    svchost.exe占用过高CPU和内存的解决方案 废话不多少,直接说怎么解决这个烦人的问题: 首先要找出究竟是哪个服务占用了这么多的资源,方法有两种 1) 用管理员身份打开cmd.exe,输入ta ...

  2. win7 svchost.exe占用内存和CPU很高,电脑很卡的解决方法

    本来系统用了很久都不会卡,或者说原来的问题我都已经解决过了,但是有一天,用360扫描了一下,发现Windows有些更新,我就点更新了. 这不更新倒好,电脑没啥毛病, 但是 更新之后,我就发现我的浏览器 ...

  3. 关于window操作系统中出现svchost.exe 持续占用80%CPU问题解决方案

    写在前面 解决问题之前,首先要知道什么是svchost.exe,svchost.exe是一个属于微软Windows操作系统的系统程序,微软官方对它的解释是:svchost.exe是从动态链接库(DLL ...

  4. Svchost.exe病毒

    Svchost.exe是病毒的两种情况 1.利用假冒Svchost.exe名称的病毒程序 这种方式运行的病毒并没有直接利用真正的Svchost.exe进程,而是启动了另外一个名称同样是Svchost. ...

  5. Svchost.exe占用CPU100%全面解析与进程说明

    在win.ini文件中,在[WINDOWS]下面,"run="和"load="是可能加载"***"程序的途径,必须仔细留心它们.一般情况下, ...

  6. svchost.exe介绍

    Svchost.exe是微软视窗操作系统里的一个系统进程,管理通过Dll文件启动服务的其它进程,一些病毒***伪装成系统dll文件通过Svchost调用它,试图隐藏自己.每个svchost可以同时调用 ...

  7. svchost.exe占用cpu100%

    网上有很多关于 svchost.exe是什么进程,svchost.exe是什么病毒,svchost.exe占用cpu100%或占用大量内存,svchost.exe有十几个,svchost.exe偷偷连 ...

  8. Svchost.exe是病毒的两种情况

    1.利用假冒Svchost.exe名称的病毒程序 这种方式运行的病毒并没有直接利用真正的Svchost.exe进程,而是启动了另外一个名称同样是Svchost.exe的病毒进程,由于这个假冒的病毒进程 ...

  9. svchost.exe占用cpu100 的解决方法

    今天郁闷了,星期六自主去公司加下班,下午来的开机下个DW5结果界面卡了半天以为同事在下载,就开P2P监视下,结果发现是自己的机子的下载上传特别的高,麻痹神马情况,直接开 开启流量监测,没有进程,或程序 ...

最新文章

  1. plotly同时可视化表格与图(plotly Table and Chart )
  2. 元宇宙:Facebook正式改名为Meta,要砸600亿做这件事
  3. 为什么你申请信用卡总是被拒绝?是银行跟你有仇吗?
  4. mysql 初始化_Windows10安装mysql
  5. PHP分页类的实现,返回结果未渲染,更容易在HTML中使用
  6. 初写数学建模论文 -- 摸鱼1
  7. linux-xfce4-panel
  8. EasyUI - panel 高度自适应
  9. Unity 多点触控 禁用与启用
  10. oracle追加imp,imp倒入的数据是追加,而不是替换,需要什么参数?
  11. js中RGB与十六进制颜色转换
  12. html京东自动轮播,js 京东首页轮播图实现(透明度切换)
  13. python解椭圆方程的例题_椭圆标准方程典型例题及练习题
  14. 微信小游戏从零开始申请软著到上线
  15. css如何设置滚动条,设置滚动条需要用到的参数
  16. MySQL查询优化分析
  17. java中怎么实现指数幂,java中幂指数值的运算代码解析
  18. LINUX 宏__define_initcall(level,fn)的作用 和 do_initcalls()
  19. 微信小程序中使用vant组件库(超详细)
  20. Windows 同时开启核心显卡与独立显卡(不接显示器启动核芯显卡)

热门文章

  1. Flink AggOperatorWholeWin 全窗口聚合函数
  2. linux 内核空间与用户空间
  3. 图解TCPIP-IP 网际协议-路由控制
  4. golang |问题代码报go并发死锁
  5. Exchange Reporter Plus概述
  6. Java基础学习总结(144)——String类为什么要被定义为不可变类
  7. Docker学习总结(31)——使用Maven插件构建docker镜像
  8. Maven学习总结(38)——Maven下载失败文件夹批量删除问题的两种解决方法
  9. Java基础学习总结(64)——Java内存管理
  10. ldo和dcdc功耗_深度解析DCDC和LDO各自的原理和区别