Getting started Community Training Tutorials Documentation APIs, AI & Tools
➜ mule-enterprise-standalone-4.6.23 ./tools/diag help
Mule Troubleshooting Tool
=========================
Usage: ./diag [options] [command] [command-options]
Commands:
diaf Generate a complete Mule diagnostic dump (default)
help Show this help message
<operation-name> Execute a specific troubleshooting operation
Global Options:
--stdout Output the diagnostic dump to standard output
--output <path> Specify custom output directory or file path
--extended Enable extended mode (includes heap dump)
--debug Enable debug mode with remote debugging on port 5005
Examples:
./diag # Generate diagnostic dump to logs directory
./diag --stdout # Output diagnostic dump to stdout
./diag --extended # Include heap dump in diagnostic
./diag --output /tmp/mule.zip # Save to specific file
./diag --output /tmp/ # Save to specific directory
./diag <operation-name> # Execute specific operation
Output:
By default, the tool creates a ZIP file containing:
- mule_dump_<timestamp>.diaf # Diagnostic information
- thread_dump_<timestamp>.txt # Thread dump
- heap_dump_<timestamp>.hprof # Heap dump (if --extended is used)
The ZIP file is saved to the 'logs' directory by default.



