cprfgetpid (acquire a PRF daemon process ID)
Format
cprfgetpid [-PRFID prf-identifier] [-h]
Function
This command acquires the process ID of the specified PRF daemon. It also displays whether or not the PRF daemon has started.
Arguments
- -PRFID prf-identifier
- Specifies a PRF daemon identifier, as 1 to 31 alphanumeric characters and the underscore (_). Do not specify a character string that begins with TSC or tsc or with CTM or ctm. If this argument is omitted, the character string PRF_ID is assumed.
- -h
- Displays the command's usage.
Return values
- 0:
- The command terminated normally. Processing might not have started.
- 1:
- Processing has not started.
- 2:
- The PRFSPOOL environment variable has not been set up.
- Other than the above:
- An error occurred during command processing. Take the corrective action indicated in the output message, and then re-execute the command. The error message is output to the standard error output and a log file. For acquiring data, see 2.4.3 Correspondence between the collection and checking methods in the uCosminexus Application Server Maintenance and Migration Guide.
Input/output examples
- Input example
cprfgetpid
- Output example
The result is output to the standard output.
1700
Notes
- The same PRFSPOOL environment variable as the one assumed by the request destination PRF daemon must be set.
- If the PRF daemon has not been started at all or if this command is executed after the PRF daemon terminated normally, an error results.