Introduction
This tool is used to quickly collect MindX SDK problems and locate related information to prevent repeated log collection and confirm information. The information includes the processor information (version and logs), OS version, environment variables, network information, and MindX SDK information (version, configuration file, logs, and third-party library versions). This tool consists of the sdk_info_collector.sh and sdk_info_collector.py files. The sdk_info_collector.py file is called in the sdk_info_collector.sh file. In addition, you can add new functions to the tool as required.
The tool provides configurable parameters for collecting chip logs and MindX SDK logs. For details, see Table 1. Other information is collected by default.
Parameter |
Description |
|---|---|
--help|-h|-H |
Views the help information. |
--version|-v|-V |
Views the version. |
-p |
The log storage directory logs_path of the MindX SDK must be set.
|
-x |
Chip log collection parameter (configurable)
|
-r |
Number of days of MindX SDK logs to be collected (configurable)
|
-t |
Level of MindX SDK logs to be collected (configurable)
|