Description
This command checks whether the patch distribution/application process is running.
Synopsis
swrba_admin pi-list [-user <User ID>] [-password <Password>] [-startedafter yyyy-mm-dd] [-startedbefore yyyy-mm-dd] [-state <Process definition state>] [-piid <Process Instance ID>] [-appid <Automated operation process group ID>] |
Options
This option searches for process instances and displays them in a list. If no parameters are set, it performs a search for all instances. The parameters that can be specified are displayed below:
You can exclude the user ID from the parameters by omitting -user. If the user ID is not configured, you will be required to enter the user ID after the execution of the command.
You can set the password as a parameter by specifying -password. If the password is not configured, you will be required to enter the password after the execution of the command.
The following table shows the initial values for User ID and Password. If these values have been changed from the initial values, use the new values.
User ID | swrbaadmin |
Password | systemwalker#1 |
Specify the start date of the period when the process is running in the following format:
yyyy-mm-dd
Specify the end date of the period when the process is running in the following format:
yyyy-mm-dd
When only -startedafter is specified, the period from the specified date till the current date is searched. When only -startedbefore is specified, the period till the specified date is searched. An error occurs if a format other than the one specified above is used, or if the relationship between the start date and the end date is invalid.
Specify the process instance ID. If this option is not specified, all instances are searched.
Specify the process definition state. If this option is not specified, all states are searched. Specify "running" to search running instances.
Specify the automated operation process group ID to be searched. Specify “cfmgApplication” as the ID.
Return Value
Return value | Meaning |
---|---|
0 | Normal termination |
1 | Parameter error |
2 | Authentication error |
3 | Error on the admin server |
4 | Internal error |
5 | Privilege error |
6 | File input/output error |
Not fixed | Forced termination |
Command Location
Admin server
[Windows]
<ServerView Resource Orchestrator installation directory>\SWRBAM\bin |
[Linux]
/opt/FJSVswrbam/bin |
Privilege Required/Execution Environment
[Windows]
Administrator privileges are required. When using Windows Server 2008 or Windows Server 2012, run as an administrator.
This command can be executed on the admin server.
[Linux]
System administrator (superuser) privileges are required.
This command can be executed on the admin server.
Execution Result/Output Format
FSP_SW/RB-A_BASE: INFO: 02000: Start pi-list.Option:pi-list -state running -appid cfmgApplication ProcessInstanceID ProcessInstanceName Status Initiator 171003 patch application request_171003_rhel57ja64_L0705_20(VL2PEOQ9WA0001) running manage 171318 patch application request _171003_rhel57ja64_L0705_20(VL2PEOQ9WA0001) running manage Searched for three instances. FSP_SW/RB-A_BASE: INFO: 02001: pi-list has terminated normally. Option:pi-list -state running -appid cfmgApplication Code:0