結束處理序End Process

重要

此版本的 Orchestrator 已達終止支援,建議您 升級至 Orchestrator 2019This version of Orchestrator has reached the end of support, we recommend you to upgrade to Orchestrator 2019.

結束進程活動會結束在 runbook 伺服器或遠端電腦上執行的處理常式。The End Process activity ends processes that are running on the runbook server or on a remote computer. 您可以使用「結束進程」活動來關閉沒有回應的應用程式。The End Process activity can be used to shut down an application that is not responding. 如果已成功結束命名進程,或名稱進程未執行,則活動會傳回 successThe activity returns success if the named process is successfully ended or if the name process is not running. 此活動會使用附屬授權。This activity uses a satellite license.

設定結束進程活動Configuring the End Process Activity

設定結束程式活動之前,您必須決定下列各項:Before you configure the End Process activity, you need to determine the following:

  • 進程的名稱或識別碼Name or ID of the process

  • 正在執行的電腦Computer on which it is running

您可以使用下列資訊來設定「結束處理常式」活動。Use the following information to configure the End Process activity.

[詳細資料] 索引標籤Details Tab

設定Settings 組態指示Configuration Instructions
電腦Computer 輸入此進程執行所在的電腦。Type the computer where this process is running. 輸入 localhost 以指定正在處理 runbook 的 runbook 伺服器。Enter localhost to specify the runbook server where the runbook is being processed. 您也可以使用省略號 ** ( ... ) ** 按鈕來流覽電腦。You can also use the ellipsis (...) button to browse for the computer.
處理Process 輸入您要結束之進程的名稱或處理序識別碼。Type the name or process ID of the process that you are ending. 您也可以使用省略號 ** ( ... ) ** 按鈕來流覽進程。You can also use the ellipsis (...) button to browse for the process. 只有在您已指定有效的 電腦時,才能使用流覽功能。Browsing is only available if you have specified a valid Computer.
結束所有實例End all instances 選取即可結束所有符合您在找到倍數時所指定之進程的處理常式。Select to end all processes that match the Process that you have specified when multiples are found.
如果有一個以上的實例,就會失敗Fail if there is more than one instance 如果結束程式找到一個以上的進程符合您指定的名稱,則選取此項會導致結束進程失敗。Select to cause the end process to fail if it finds more than one process matching the name you specified.
終止于Terminate in 輸入等候進程正常關機的秒數,然後再將它強制關機。Type the number of seconds to wait for the process to be shut down gracefully before it is shut down forcefully.

已發佈資料Published Data

下表列出已發佈的資料項目。The following table lists the published data items.

ItemItem 描述Description
執行個體數目Number of instances 符合您指定之 進程 的進程數目。The number of processes that matched the Process you specified.
處理序識別碼Process ID 符合您所指定之 進程 的每個處理常式的處理序識別碼。The process ID of each of the processes that matched the Process you specified.