Using peer tracer, Starting peer, Log functions – Comtrol RPSH Windows 2000 User Manual
Page 19: Using peer, Starting peer log functions using peer, Peer tracer

Using Peer Tracer
19
Using Peer Tracer
The Peer Tracer program (peer.exe) is specifically designed to view the internal operations of the driver for the
purpose of troubleshooting communications on Windows 2000 systems. Peer enables you to see:
•
Receive and transmit data
•
Internal driver event traces
•
Advanced configuration and status information
Like Test Terminal, Peer acts as a simple terminal session, and is used to send and receive text information to
and from the driver. To use Peer, you type in commands, and status and information are sent back. Unlike
Test Terminal, Peer enables you to keep a continuous log of the commands sent and the results received in a
file named peer.log.
Comtrol Technical Support may ask you to run Peer in order to help diagnose reported problems.
Starting Peer
Peer Tracer does not appear in the Comtrol
program group. To use it, you must open Windows
Explorer, access the C:\WINDOWS\system32\
directory, and double-click on peer.exe. The Peer
Tracer window displays:
Log Functions
All logging functions are found under the File
menu. To start keeping a log, select Log to Disk from
the File menu. The other options on this menu are
View Disk Log, Clear Disk Log, Clear Screen, and Exit.
Using Peer
To use peer, simply type in commands at the : prompt. (It may be necessary to press Enter to make the :
prompt appear.) For example, to examine COM5, type:
PORT COM5
To gather some information about the port, type:
STAT
This should return details about the port.
TxCPSMinAvMax
Peak TxCPSInst for the last minute.
TxCPSMinAvMaxWrk
Peak TxCPSInst for the current minute.
TxDayCnt
Transmit bytes count sent in the last day.
TxDayCntWrk
Transmit bytes count sent in this day.
TxHourCnt
Transmit bytes count sent in the last hour.
TxHourCntWrk
Transmit bytes count sent in this hour.
TxMinCnt
Count of transmit bytes sent in last minute.
TxMinCntWrk
Transmit bytes count sent in this minute.
TxMinCPS
Last minute average of transmit characters per second.
TxPkts
Raw count of total transmit packets sent.
TxTotal
Total bytes transmitted.
TxTotalRaw
Total number of transmit bytes raw data from the driver.
Port Monitor
Variable List (Continued)
Variable
Description