IBM Enterprise Records, 版本 5.1.+              

checkStatus 指令

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


意見

前次更新: 2011 年 8 月


© Copyright IBM Corp. 2011.
此資訊中心採用 Eclipse 技術。(http://www.eclipse.org)