trace

Displays trace information in the RMS log file.

Syntax

trace [flag | all {on | off}]

Parameters

Examples

Usage

  • The trace command should only be used by knowledgeable users to troubleshoot RMS.

  • When trace is invoked with no options specified, it returns the current settings for all RMS trace flags.

  • When trace is invoked with the flag and on, off options, it changes the setting of the trace point specified in the flag option.

  • Changes made with the trace command take effect immediately.

  • These trace flags are supported by RMS:

    Trace Flags

    Flag

    Description

    Add_Drop_Server

    Write a message to the log when a server is added or dropped.

    Add_Drop_Trigger

    Write a message to the log when a trigger is added or dropped.

    Client_Connection

    Display information about a connection when a client initially connects to the RMS.

    Configuration

    Write a trace message to the log every time an RMS configuration parameter is changed.

    Filter_Conn

    Writes a trace message to the log when a connection is filtered.

    Monitoring

    Add trace messages to the RMS at each step of the monitoring cycle, and write a message before monitoring each server.

    Network_Connection

    Add trace messages to the RMS whenever a connection to a server is created. Include all connection information (except the password) in the trace message.

    RMS_Command

    Write every command received by the RMS to the error log.

    Server_Command

    Write every command sent to a monitored server by the RMS to the error log.

    Shutdown_Server

    Write a message to the log when the server is shut down.

    Start_Stop_Heartbeat

    Write a message to the log when a heartbeat is started or stopped.

    Startup

    Add trace messages to the RMS at each step of the start-up process.

    Status_Change

    Display server and component result description when status changes.

    Suspend_Resume_Component

    Write a message to the log when a component is suspended or resumed.

    Trigger_Execution

    Display message stating that event trigger was executed.

Related reference
configure RMS
get version
resume Replication Agent
suspend Replication Agent