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.

372 Part II Usage Guide<br />

FIGURE 13-3 Portmon.<br />

You can toggle data capture on and off by pressing Ctrl+E or clicking the Capture icon in the<br />

toolbar, and you can enable Autoscroll to scroll new events into the display as they arrive.<br />

Each event appears in the Portmon window as a separate row with resizable columns. If data<br />

in a particular column is wider than that column can accommodate, hover the cursor over the<br />

displayed text and Portmon will display the full column text in a tooltip.<br />

The first column is a Portmon-assigned event counter that gets reset to zero when you<br />

clear the display. Gaps in this sequence can occur if the amount of incoming data exceeds<br />

Portmon’s ability to keep up, or if filters (described later) exclude events from the display.<br />

The Time column shows how long the request took to complete. You can have this column<br />

display the time of day of the event instead by selecting Clock Time on the Options menu.<br />

Note that this change affects the display only for subsequently captured data. You can also<br />

hide the Time column by deselecting Show Time Column on the Options menu.<br />

The Process column identifies the name of the process that made the request.<br />

The Request column shows the symbolic name of the control code sent to the port. The<br />

names are mostly self-explanatory (assuming you know something about port communications).<br />

IOCTL stands for input/output control, and IRP stands for input/output request packet,<br />

with MJ used to define major functions. IOCTLs are for configuring the device’s behavior,<br />

while IRPs typically request or contain data.<br />

The Port column identifies the name of the port to which the request was sent. By default,<br />

Portmon monitors all serial ports listed in HKLM\Hardware\DeviceMap\SerialComm and all<br />

parallel ports listed in HKLM\Hardware\DeviceMap\Parallel Ports. You can selectively disable<br />

the monitoring of specific ports via the Ports submenu of the Capture menu, as shown in<br />

Figure 13-4. Portmon remembers your selections and reapplies them the next time it runs.<br />

www.it-ebooks.info

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

Saved successfully!

Ooh no, something went wrong!