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.

374 Part II Usage Guide<br />

FIGURE 13-5 Portmon filter dialog box.<br />

Enter expressions in the Include field to identify column content that you want Portmon to<br />

display, in the Exclude field to specify content that should cause a line not to be displayed,<br />

or in the Highlight field to identify content that should be emphasized with color coding.<br />

You can enter multiple expressions, separating each with a semicolon. Do not include spaces<br />

in the filter expression unless you want the spaces to be part of the filter. Note that the “*”<br />

character is interpreted as a wildcard, and that filters are interpreted in a case-insensitive<br />

manner. The default rules include everything (“*”) and exclude nothing.<br />

An expression must completely match a column value for the rule to apply. For example, if<br />

you want to match lines that contain the word “baud” in the middle of other text (such as<br />

IOCTL_SERIAL_GET_BAUD_RATE), you need to use “*” to account for the text before and after<br />

the word “baud”. Use *baud* as your filter expression.<br />

As an example, say you want Portmon to display all events except those that have a field<br />

ending with “_WRITE” and to highlight events that include the word “baud”. You would apply<br />

this filter:<br />

Include: *<br />

Exclude:<br />

Highlight:<br />

*_write<br />

*baud*<br />

Filtering is applied only to new events as they are captured. New text lines that match the<br />

rules that are in effect are displayed; those that don’t are dropped and cannot be “unhidden”<br />

by changing the filter rules after the fact. Also, changing the filter rules does not remove lines<br />

that are already displayed by Portmon.<br />

Highlighting is applied when you set the highlighting rules. The default colors for highlighted<br />

rows are white text on a red background. You can change these colors by choosing Highlight<br />

Colors from the Filter menu.<br />

www.it-ebooks.info

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

Saved successfully!

Ooh no, something went wrong!