checkStatus 命令检查先前运行的任务或概要文件的状态。该命令名不区分大小写。
checkStatus 命令语法
您可使用该命令来报告先前运行的任务的状态。可以对概要文件中的一个或所有任务执行此操作。
以下语法包括换行符,用于将命令设置为方便阅读的格式。
请将命令和选项输入在一行上,不要使用任何换行符。
configmgr_cl.exe checkStatus [-task task_type |
-taskfile task_file_name]
-profile profile_path [-debug] [-help]
checkStatus 命令参数
- -task task_type
- -task task_type 参数指定用于状态检查的任务。如果要检查所有任务或者如果指定了 -taskfile task_file_name 参数,那么可以省略 -task task_type 参数。
task_type 值不区分大小写。
- -taskfile task_file_name
- -taskfile task_file_name 参数指定要检查的任务。task_file_name 值不区分大小写。任务文件名由 listTasks 命令报告。
- 如果 -task 和 -taskfile 均未指定,那么将报告概要文件中的所有任务状态。
- -profile profile_path
- -profile profile_path 参数指定概要文件的完整目录路径,例如 C:\Program
Files\IBM\EnterpriseRecords\configure\profiles\WASWebApplicationDeploymentProfile\,或者以 ..\profiles 文件夹开始的相对路径。
- -debug
- -debug 参数启用针对命令的日志记录。
限制: 安装 HP-UX 时不支持此参数。
- -help
- -help 显示命令帮助。
checkStatus 命令示例
以下示例包括换行符,用于将命令设置为方便阅读的格式。
请将命令和选项输入在一行上,不要使用任何换行符。
- 检查概要文件的状态。
- 以下命令检查 C:\Program Files\IBM\EnterpriseRecords\configure\profiles\WSWebApplicationDeploymentProfile 目录中的 WSWebApplicationDeploymentProfile 概要文件的状态:
configmgr.exe_cl checkStatus -profile "C:\Program Files
\IBM\EnterpriseRecords\configure
\profiles\WSWebApplicationDeploymentProfile"
- 检查概要文件中一个任务的状态。
- 以下命令检查 C:\Program Files\IBM\EnterpriseRecords\configure\profiles\WSWebApplicationDeploymentProfile 目录中 deployWebApplication.xml 任务文件的状态:
configmgr.exe_cl.exe checkstatus -taskfile
deployWebApplication.xml -profile "C:\Program Files\IBM
\EnterpriseRecords\configure\profiles
\WSWebApplicationDeploymentProfile"
- 显示 checkstatus 命令的帮助。
- 以下命令显示 checkstatus 命令的帮助:
configmgr.exe_cl checkstatus -help