endmqtrc (end trace)
End trace for some or all of the entities that are being traced.
Purpose
You can use the endmqtrc command to end tracing for a specified entity, or for all entities.
Syntax
Parameters
- -m QMgrName
- Specifies the name of the queue manager for which to end tracing.
- -i PidTids
- Specifies the process identifier (PID) and thread identifier (TID) for which to end tracing.
- -p Apps
- Specifies the processes for which to end tracing.
- -e
- Specifies that early tracing of all processes ends.
- -a
- Ends all tracing.
- -w
- Restrict triggering of trace to applications run by an IBM® MQ Appliance administrator.
Usage notes
- This command must be run from the IBM MQ administration mode. If the system is in the IBM MQ administration mode the prompt includes
mqa(mqcli)#
. To enter the IBM MQ administration mode, entermqcli
on the command line. To exit the IBM MQ administration mode, enterexit
on the command line. - Specifying endmqtrc with no parameters has the same effect as specifying endmqtrc -e.
- For more information about this command in IBM MQ, see endmqtrc in the IBM MQ documentation.
Examples
- The following command ends tracing of data for a queue manager called
QM1
:endmqtrc -m QM1
- The following command ends tracing for queue manager
QM2
only. Any other traces that are running are not affected:endmqtrc -m QM2