cprfgetpid (acquire a PRF daemon process ID)
- Organization of this page
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
-
Specify the PRF identifier by using a character string that is 1 to 31 characters long. You can specify alphanumeric characters and underscores (_). 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 Acquisition Methods and Investigation 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.