analyze_core_files.py
The analyze_core_files.py script queries the specified input log for information related to critical errors and writes them to the specified output file.
Syntax
analyze_core_files.py input_log output_file
Options
-
input_log
- The full path name of the MATRIXX log file from which to extract data. This is mtx.log or mtx_debug.log, depending on the logging level.
-
output_file
- The full path name of the file in which to write the critical messages extracted from the input file.
Analyze Critical Log Messages
The following command analyzes critical messages in the
${MTX_LOG_DIR}/mtx_debug.log file and writes them to the
core.txt file in the local
directory:
analyze_core_files.py /var/log/mtx/mtx_debug.log core.txt
For more information about the MATRIXX environment variables, see the discussion about container directories and environment variables in MATRIXX Installation and Upgrade.