Using trace on UNIX systems

UNIX systems use the following commands for the WebSphere MQ client trace facility:

strmqtrc -e
to start early tracing
endmqtrc -e
to end early tracing
dspmqtrc <filename>
to display a formatted trace file

You must use the -e parameter when tracing a WebSphere MQ client. For more information about the trace commands, see the WebSphere MQ System Administration Guide.

The trace facility uses a number of files, which are:

Files associated with trace are created in a fixed location in the file tree, which is /var/mqm/trace.

All client tracing takes place to files in this directory.

You can handle large trace files by mounting a temporary file system over this directory.