Collect Information About Process Suspension

The information can be collected both manually and automatically.
  • Manual collection: Host and device log files are collected. Only the minimum set of information is collected.
  • Automatic collection: On the host service, use the asys tool to collect all fault-related information, including the installation version information, device health status information, dump files, operator compilation information, and full log files.

    Note: The application scenarios of the asys tool are limited. The asys tool cannot be used to collect fault information in one-click mode in cluster, container, virtual machines, and cloud scenarios.

Manual collection method:

To collect application logs and trace logs on the host, perform the following steps:

  1. Plan a directory for storing log files on the host server, for example, ${HOME}/err_log_info/.
  2. The default path of application log files on the host is ${HOME}/ascend/log on the host server. Copy the log files to the err_log_info directory:
    mv ${HOME}/ascend/log ${HOME}/err_log_info/ 
  3. The default path of trace log files is $HOME/ascend/atrace/ on the host server. Copy the log files to the err_log_info directory:
    mv $HOME/ascend/atrace ${HOME}/err_log_info/ 

For details about log levels, log paths, and log files, see Log Reference.

Automatic Collection

For details about the restrictions on using the asys tool, see Functions and Restrictions of the asys Tool. Before using the asys tool, install and configure the asys tool. For details, see asys Tool Usage Guide (EP Mode).

The following is an example of the asys tool command. Run the asys collect command to collect fault information.

asys collect [--output="path"]

output indicates the directory for saving collected information. For details about the parameters and restrictions, see Fault Information Collection.