命令参数说明
软件迁移评估帮助用户分析用户x86环境上软件包安装路径中的SO库文件,并检查这些文件与鲲鹏平台的兼容性。
命令功能
查看软件迁移评估特性所有命令参数。
命令格式
devkit porting pkg-mig -h
使用实例
执行以下命令,查看所有命令参数说明。
devkit porting pkg-mig -h
返回信息如下:
OVERVIEW Run this command to scan and analyze software packages (non-source code packages) and installed software, and provides migration evaluation reports. USAGE devkit porting pkg-mig -i,--input path-to-package [-o,--output path-to-output] [-r,--report-type {all/json/html/csv}] [-l,--log-level {0/1/2/3} ] [--set-timeout time-limit-for-task] [-t,--target-os target-os] OPTIONS -i, --input INPUT_PATH [Mandatory option] Specifies the path of the software package to be scanned. -o, --output OUTPUT_PATH Specify the path for storing the scan report and the file name. By default, the file is stored in the current path(pwd) and its name is in the format of function name_timestamp. -t, --target-os {bclinux7.6,bclinux7.7,centos7.4,centos7.5,centos7.6,centos7.7,centos8.0,centos8.1,centos8.2,debian10,deepinv15.2,euleros2.8,isoft5.1,kylinv10sp1,kylinv10sp2,linxos6.0.90,linxos6.0.100,neokylinv7u5,neokylinv7u6,openeuler20.03,openeuler20.03sp1,openeuler20.03sp2,openeuler20.03sp3,openeuler22.03,susesles15.1,ubuntu18.04.x,ubuntu20.04.x,uos20-1020e,uos20sp1,uoseuler20,openeuler22.03sp3,uos20-1060e} Specifies the target OS for migration. The default value is the operating system of the tool deployment node. -l, --log-level {0,1,2,3} Specifies the log level of the current task, 0(DEBUG) | 1(INFO) | 2(WARNING) | 3(ERROR). The default value is 1(INFO). -r, --report-type {all,json,html,csv} Specify the report type for the scan report. The default value is all. --set-timeout <min> Specifies the timeout period of a task. By default, the timeout period is not set. EXAMPLE # Scan a JAR Package and generate scanning reports. devkit porting pkg-mig -i /home/porting/project.jar -t openeuler22.03
父主题: 软件迁移评估