Check the Running Mode in the Terminal Tool
Function
Uses the terminal tool to check the running mode.
Syntax
/opt/DevKit/tools/devkit runningmode -S/--source <source dir>
/opt/DevKit/tools/ is the directory for storing the tool. Replace it with the actual directory.
Parameter Description
Argument |
Parameter |
Description |
|---|---|---|
-S/--source |
source |
Path of the source file to be scanned. This parameter is mandatory. The path must be a full path. Example: /path/to/sourcecode NOTE:
|
Example
The following demonstrates how to analyze the TestData project code and generate an analysis report in HTML format. Replace /home/TestData/ with the actual code path to be scanned.
./devkit runningmode -S /home/TestData
The following information is displayed. Input the password of the common user in the interactive prompts.
64-bit mode check succeeded... Success to download report to /home/report/runningmode/20230607165827/report.html
Parent topic: Using Basic Functions in the Terminal Tool