How to produce a thread dump that aligns with the elink log in MDM.

How to produce a thread dump that aligns with the elink log in MDM.

book

Article ID: KB0093533

calendar_today

Updated On:

Products Versions
TIBCO MDM -
Not Applicable -

Description

Description:
You are trying to align a thread dump with the information logged in the elink logs that MDM produces, however your site produces so much log data that it is not possible to align it.


Symptoms:
You cannot align stack traces to elink log data.


Cause:
There is too much log data.

Issue/Introduction

How to produce a thread dump that aligns with the elink log in MDM.

Resolution

Any POSIX based Unix/Linux system will support the following command which is constructed to produce a filename with the system name and the exact date/time/millisecond it was  performed. This will enable you to align stack traces to elink data:

$ JAVA_HOME/bin/jstack MDM_PID > /tmp/jstack_`uname -n`_`date +%Y-%m-%d_%T,%N`


where MDM_PID is the process ID of MDM. When attaching the thread dumps produced you also provide the current elink logs as the two items become a set.

Additional Information

date command, uname command, Java jstack command