WebSphere MQ for AIX Trace V6.0 - Middleware News
Follow the instructions listed below to start, stop and format WebSphere MQ for AIX trace. Trace files are written to the directory /var/mqm/trace, so delete or relocate old trace files before beginning a new trace.
Start trace
for every WebSphere MQ process:
strmqtrc -e
Or start trace only for one queue manager:
strmqtrc -m MY.QMGR
Or start a high detail trace for one queue manager:
strmqtrc -t all -t detail -m MY.QMGR
Or start a high detail wrapping trace and limit the file size to 5MB :
strmqtrc -l 5 -t all -t detail -m MY.QMGR
End all tracing:
endmqtrc -a
Format the trace files:
dspmqtrc *.TRC
Or format wrapping trace files:
dspmqtrc *.TRC *.TRS
The trace formatter program converts binary files named AMQppppp.TRC (where ppppp is the process identifier or pid which created the file) into readable files named AMQppppp.FMT.
If you used a wrapping trace, then each time a .TRC reaches the size limit MQ renames it to a .TRS extension and starts a new .TRC file. The trace formatter can convert both files to a single formatted file, but only if you format the .TRC and .TRS files at the same time, as shown above.
Follow the instructions listed below to start, stop and format WebSphere MQ for AIX trace. Trace files are written to the directory /var/mqm/trace, so delete or relocate old trace files before beginning a new trace.
Start trace
for every WebSphere MQ process:
strmqtrc -e
Or start trace only for one queue manager:
strmqtrc -m MY.QMGR
Or start a high detail trace for one queue manager:
strmqtrc -t all -t detail -m MY.QMGR
Or start a high detail wrapping trace and limit the file size to 5MB :
strmqtrc -l 5 -t all -t detail -m MY.QMGR
End all tracing:
endmqtrc -a
Format the trace files:
dspmqtrc *.TRC
Or format wrapping trace files:
dspmqtrc *.TRC *.TRS
The trace formatter program converts binary files named AMQppppp.TRC (where ppppp is the process identifier or pid which created the file) into readable files named AMQppppp.FMT.
If you used a wrapping trace, then each time a .TRC reaches the size limit MQ renames it to a .TRS extension and starts a new .TRC file. The trace formatter can convert both files to a single formatted file, but only if you format the .TRC and .TRS files at the same time, as shown above.
Comments
Post a Comment