09.02.2014 Views

Windows sysinternals

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

52 Part II Usage Guide<br />

FIGURE 3-6 Dialog box for setting processor affinity on a two-processor system.<br />

■ Set Priority View or set the base scheduling priority for the process.<br />

■ Kill Process You can forcibly terminate a process by choosing Kill Process or by<br />

clicking the Kill Process button in the toolbar. By default, Procexp prompts you for<br />

confirmation before terminating the process. You can disable that prompt by clearing<br />

Confirm Kill in the Options menu.<br />

Warning Forcibly terminating a process does not give the process an opportunity to shut<br />

down cleanly and can cause data loss or system instability. In addition, Procexp does not<br />

provide extra warnings if you try to terminate a system-critical process such as Csrss.exe.<br />

Terminating a system-critical process results in an immediate <strong>Windows</strong> blue screen crash.<br />

■ Kill Process Tree When Procexp is in the process-tree sorting mode, this menu item<br />

is available and allows you to forcibly terminate a process and all its descendants. If the<br />

Confirm Kill option is enabled, you will be prompted for confirmation first.<br />

■ Restart When you select this item, Procexp terminates the highlighted process (after<br />

optional confirmation) and starts the same image using the same command-line arguments.<br />

Note that the new instance might fail to work correctly if the original process<br />

depended on other operating characteristics, such as the security context, environment<br />

variables, or inherited object handles.<br />

■ Suspend If you want a process to become temporarily inactive so that a system<br />

resource—such as a network, CPU, or disk—becomes available for other processes, you<br />

can suspend the process’ threads. To resume a suspended process, choose the Resume<br />

item from the process context menu.<br />

Tip Suspend can be useful when dealing with “buddy system” malware, in which two or<br />

more processes watch for each other’s termination, with the nonterminated one restarting<br />

its buddy if it dies. To defeat such malware, suspend the processes first and then terminate<br />

them.<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!