09.02.2014 Views

Windows sysinternals

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

90 Part II Usage Guide<br />

FIGURE 3-37 The Threads tab of the Properties dialog box.<br />

By default, the list is sorted by CPU time in descending order. Click on any column header to<br />

change the sort order. Columns can be resized but cannot be reordered.<br />

Selecting a row in the list box displays more detail about that thread in the lower area of the<br />

Threads tab: when the thread started; how much CPU time it has consumed in kernel mode<br />

and in user mode; how many context switches and CPU cycles it has consumed; its base<br />

priority and dynamic priority; and on <strong>Windows</strong> Vista and newer, its I/O priority, memory<br />

priority, and ideal processor. Clicking the Permissions button displays the security descriptor<br />

for the thread—that is, who can perform which actions on the thread. Although this interface<br />

allows you to modify permissions on the thread, actually making changes is not advised and<br />

will usually lead to unpredictable results.<br />

For the System Idle Process, the list box enumerates processors rather than threads. The<br />

processor number is shown instead of the Thread ID, and the CPU time represents the percentage<br />

of time the CPU spent idle during the refresh interval. When you select one of the<br />

processors in the list, the Kernel Time shown below the list box reports the total amount of<br />

idle time for that CPU.<br />

Clicking the Module button displays a standard file properties dialog box for the EXE or DLL<br />

name in the selected row.<br />

The Stack button displays the call stack for the selected thread, as shown in Figure 3-38. The<br />

start address is the bottom-most item in the stack, and the current location of the thread is<br />

at the top. The Copy button in the Stack dialog box copies the currently selected symbolic<br />

name in the stack to the clipboard. You can select multiple rows in the standard ways, such<br />

as holding Shift and pressing the down arrow key. (For more information, see the “Call Stacks<br />

and Symbols” section of Chapter 2,.)<br />

www.it-ebooks.info

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

Saved successfully!

Ooh no, something went wrong!