A thread dump contains information about active threads in the Replication Agent JVM and can therefore be useful in troubleshooting a Replication Agent deadlock or performance issue.
In the command window in which you started Replication Agent, press Ctrl-Break.
%>ps -ef | grep RAX-15_5
The e and f options show full output for every running process. The grep command filters results on the string “RAX-15_5”. The result returned looks something like this:
sybase 12345 67890 0 14:21 pts/1 00:00:22 /software/sybase/RAX-15_5/JRE6/bin/java -server
where 12345 is the process ID (PID) of the Replication Agent Java process.
%>kill -QUIT pid
where pid is the PID you obtained from the last step.
%>RUN_inst_name >! output.txtwhere inst_name is the server name of the Replication Agent instance.