Tuesday, February 21, 2012

How To enable STATTRACE in Java Stack


Difference between STATTRACE and DSR
DSR will give time spent for the complete job, while STATTRACE will in a very detailed with detailed time spent in each of activity. So generally first a basic function is monitored using DSR. When something is noticed which has to be drilled down in detail, then STATTRACE is used to monitor in detail.

To enable STATTRACE in Java Stack, go to Visual Administrator and then go to the tab
Runtime -> Trace Config. Here activate the traces


Then go to the tab Application Tracing and restart the node to be traced in the “Maintenance Mode”.


The results can be viewed in the ABAP Stack in the tx Code ST03G


And the detailed result can be viewed in the Tx Code STATTRACE.

No comments: