1 | cd ${MX_SDK_HOME}/bin |
MX_SDK_HOME is the Vision SDK installation directory. Ensure that MX_SDK_HOME is a valid environment variable.
The following describes three one-click information collection methods. You can use them as required.
1 | bash sdk_info_collector.sh -p logs_path |
Parameter |
Description |
|---|---|
-p logs_path |
Collects Vision SDK logs stored in the logs_path directory. The value of logs_path must be an absolute path and cannot end with a slash (/). |
bash sdk_info_collector.sh -p logs_path -r 3d -t w -x 6
Parameter |
Description |
|---|---|
-p logs_path |
Collects Vision SDK logs stored in the logs_path directory. |
-r 3d |
Collects Vision SDK logs generated in the last three days. |
-t w |
Collects Vision SDK logs at the warning level or higher. |
-r 3d -t w |
Collects Vision SDK logs of the warning level and higher levels in the last three days. |
-x 6 |
Collects the logs of chip 6. |
-x 0,2,5 |
Collects logs of chips 0, 2, and 5. |
Example:
bash sdk_info_collector.sh -p logs_path -r 3d -t w -x 0,2,5
bash sdk_info_collector.sh -p logs_path -r full -t full -x -1
Parameter |
Description |
|---|---|
-p logs_path |
Collects Vision SDK logs stored in the logs_path directory. |
-r full |
Collects Vision SDK logs generated every day. |
-t full |
Collects Vision SDK logs of all levels. |
-r full -t full |
Collects all Vision SDK logs. |
-x -1 |
Collects all chip logs. |
The result of running the tool is stored in the mindx_sdk_info_year+month+day_hour+minute+second.tar.gz file in the ${MX_SDK_HOME}/bin directory.