Network Monitor: monitor

Use monitor to start the Network Monitor (Netmon). The monitor records server commands issued by the command processor to the StarTeam Server. You can specify monitoring the server, the cache agent, or both. This is useful to track access to a machine or StarTeam Server, as well as troubleshooting.

Note: This command is part of the stateful model and only works with stcmd, not stcmdEx.

Syntax

stcmd monitor stop | start [server | ca | both] –ofp “full path to a writable output log file”

Parameters

For information about the command parameters, refer to Operation Parameters.

In addition:

Parameter Description
start Turns on command logging. Specify which service to monitor: server, ca (cache agent), or both.
stop Turns off command logging.

Example

The following example uses monitor to monitor the server network connection and output the report to a Temp folder on the C: drive. If the file already exists, it is appended to the end of the report.

stcmd monitor start server -ofp "C:\Temp\netmon.txt"

The following example stops the Netmon:

stcmd monitor stop