Google
 

音樂分享 - 「君がいるから」by 江口一聲

2007年6月3日 星期日

SVCHOST.EXE takes 100% cpu resource

Source: How to determine what services are running under a SVCHOST.EXE process
Address : <http://www.bleepingcomputer.com/tutorials/tutorial129.html>



Determining the services running under a SVCHOST.EXE process using Task List

For those who like to tinker around in a Windows command prompt/console window, and have Windows XP Pro or Windows 2003, there is a Windows program called tasklist.exe that can be used to list the running processes, and services, on your computer. To use task list to see the services that a particular SVCHOST.EXE process is loading, just follow these steps:

1. Click on the Start button and then click on the Run menu command.

2. In the Open: field type cmd and press enter.

3. You will now be presented with a console window. At the command prompt type tasklist /svc /fi "imagename eq svchost.exe" and press the enter key. You will see a list of the processes on your computer as well as the services that a SVCHOST.EXE process is managing. This can be seen in the image below.

TaskList /svc output
TaskList /svc output

When you are done examining the output, you can type exit and press the enter key to close the console window.



或安裝另一個windows的監控程式
Source: Process Explorer for Windows v10.21
Address : <http://www.microsoft.com/technet/sysinternals/utilities/ProcessExplorer.mspx>

Process Explorer for Windows v10.21

By Mark Russinovich

Published: November 1, 2006

Introduction

Ever wondered which program has a particular file or directory open? Now you can find out. Process Explorer shows you information about which handles and DLLs processes have opened or loaded.

The Process Explorer display consists of two sub-windows. The top window always shows a list of the currently active processes, including the names of their owning accounts, whereas the information displayed in the bottom window depends on the mode that Process Explorer is in: if it is in handle mode you'll see the handles that the process selected in the top window has opened; if Process Explorer is in DLL mode you'll see the DLLs and memory-mapped files that the process has loaded. Process Explorer also has a powerful search capability that will quickly show you which processes have particular handles opened or DLLs loaded.

The unique capabilities of Process Explorer make it useful for tracking down DLL-version problems or handle leaks, and provide insight into the way Windows and applications work.

Process Explorer works on Windows 9x/Me, Windows NT 4.0, Windows 2000, Windows XP, Server 2003, and 64-bit versions of Windows for x64 and IA64 processors, and Windows Vista.

Process Explorer Screenshot






Process Explorer Screenshot

Related Items

Here are some other handle and DLL viewing tools and information available at Sysinternals:

TechNet On-Demand Webcast: Advanced Malware Cleaning - Learn from Mark how to use the Sysinternals tools to identify malware infestations, from standard spyware to kernel-mode rootkits, and clean them off your systems.

Handle - a command-line handle viewer

ListDLLs - a command-line DLL viewer

PsList - local/remote command-line process lister

PsKill - local/remote command-line process killer

Microsoft Process Explorer KB Articles

The following Microsoft KB articles reference Process Explorer for diagnosing or troubleshooting various problems:

319034: FIX: Thread Handle Leak in PrintReport Method of Data Report

232830: HOWTO: Determine File Handle Ownership

242131: How to: Display a List of Processes That Have Files Open

216368: PRB: Access Violation During Application Setup When File in Use

166112: PRB: Conflict with EOF When Using #import with ADO

301357: PRB: DLLs Not Unloaded After Calling CoFreeUnusedLibraries

816683: Process Explorer from SysInternals Does Not Start

247957: SAMPLE: Using DUPS.exe to Resolve DLL Compatibility Problems

313735: XCON: The MTA Process Is Leaking Memory with a High Handle Count

276525: Your Computer May Stop Responding When You Monitor Open Handles

Download Process Explorer (1.5 MB)




沒有留言: