windows – svchost.exe上的细粒度性能报告
这总是困扰着我,所以我会问服务器故障社区.
我喜欢Process Explorer,不仅仅是跟踪你在Task Manager中获得的高级任务.但我一直想知道在svchost下单个进程中托管的十几项服务中的哪一项正在使我的处理器激增. 那么……是否有任何非侵入性的方式来找到这些信息?
是的,有一种(几乎)非侵入性和简单的方式:
拆分每个服务以在其自己的SVCHOST.EXE进程中运行 SC Config Servicename Type= own 在命令行窗口中执行此操作或将其放入BAT 原始状态可以通过以下方式恢复: SC Config Servicename Type= share 示例:使Windows Management Instrumentation在a中运行 SC Config winmgmt Type= own 除了可能增加之外,这种技术没有任何不良影响 在大多数系统上,只有一个SVCHOST.EXE进程 rem 1. "Automatic Updates" SC Config wuauserv Type= own rem 2. "COM+ Event System" SC Config EventSystem Type= own rem 3. "Computer Browser" SC Config Browser Type= own rem 4. "Cryptographic Services" SC Config CryptSvc Type= own rem 5. "Distributed Link Tracking" SC Config TrkWks Type= own rem 6. "Help and Support" SC Config helpsvc Type= own rem 7. "Logical Disk Manager" SC Config dmserver Type= own rem 8. "Network Connections" SC Config Netman Type= own rem 9. "Network Location Awareness" SC Config NLA Type= own rem 10. "Remote Access Connection Manager" SC Config RasMan Type= own rem 11. "Secondary Logon" SC Config seclogon Type= own rem 12. "Server" SC Config lanmanserver Type= own rem 13. "Shell Hardware Detection" SC Config ShellHWDetection Type= own rem 14. "System Event Notification" SC Config SENS Type= own rem 15. "System Restore Service" SC Config srservice Type= own rem 16. "Task Scheduler" SC Config Schedule Type= own rem 17. "Telephony" SC Config TapiSrv Type= own rem 18. "Terminal Services" SC Config TermService Type= own rem 19. "Themes" SC Config Themes Type= own rem 20. "Windows Audio" SC Config AudioSrv Type= own rem 21. "Windows Firewall/Internet Connection Sharing (ICS)" SC Config SharedAccess Type= own rem 22. "Windows Management Instrumentation" SC Config winmgmt Type= own rem 23. "Wireless Configuration" SC Config WZCSVC Type= own rem 24. "Workstation" SC Config lanmanworkstation Type= own rem End. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- Windows下搭建以太坊私有链环境1.8.2
- windows – 使用PRTG自动重启服务
- 如何指示Windows报告我的java应用程序的名称而不是java.exe
- windows-phone-7 – 如何在wp7中获得scrollview的最大偏移量
- 在Windows批处理文件中寻找Unix风格的’getopt’命令行解析
- windows-server-2008-r2 – 在Windows 2008 R2 64bit上运行
- windows-phone-7 – 在WP7上使用MVVM时如何最好地将弹出窗口
- winforms – Windows窗体中BackgroundImage的位置
- Microsoft SQL Server备份physical_device_name
- windows-server-2008 – 使用PowerShell在Windows Server 2
- winapi – 适用于Windows XP的线程安全的GetTick
- windows – 您是否可以使用WMI来确定连接是否从D
- 远程桌面端口应该如何修改?
- active-directory – GPO为每台计算机设置壁纸而
- windows-server-2008-r2 – “无法打开服务器服务
- Microsoft Office 2007自动安装 – 编辑config.x
- 如何在Microsoft Visual Studio C中定位Windows
- Windows NNTP服务器软件
- vCenter6.7安装报错,错误1722,Windows install
- windows-server-2016 – 如何在Nano Server中添加