Display Critical Log Messages

You can extract critical errors from a MATRIXX core file and save them to a specified output file.

Procedure

  1. In a terminal, run the following command to go to the system log directory:
    cd /var/lib/systemd/coredump
  2. Type one of the following commands, based on whether the core file is on the local server or a remote server. Replace:
    • input_log with the name of the core file to filter. By default, the core file is named core.mtx_process_id.
    • output_file with the name of the file in which to save the critical messages, for example, core.txn.errors.log. Specify the full path of the output file if you do not want to write it to the local directory. You must have write permissions on the output directory.
    • bladeId (remote file) with the ID of the server where the core file is located.

    On a local server, use the following command:

    analyze_core_files.py -i input_log -o output_file

    On a remote server in the cluster:

    run_cmd_on_blade.py -b bladeId analyze_core_files.py -i input_log -o output_file