cprfstop (stop PRF daemon)
- Organization of this page
Format
cprfstop [-PRFID PRF-identifier] [-Force] [-h]
Function
This command stops the PRF daemon (cprfd). You should stop the PRF daemon only after all other processes have been stopped.
Arguments
- -PRFID PRF-identifier
-
Specify the PRF identifier as 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.
- -Force
-
Stops the PRF daemon forcibly.
- -h
-
Displays the command's usage.
Return values
- 0:
-
The PRF daemon stopped normally.
- 1:
-
The PRF daemon is not active. Either the PRFSPOOL environment variable is different from the one assumed for the PRF daemon or the value of -PRFID is invalid.
- 2:
-
The PRFSPOOL environment variable has not been set up.
- 3:
-
A timeout occurred.
- 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.
Notes
-
If the command times out and the PRF daemon does not terminate normally, specify the -Force option to force the PRF daemon to stop.
-
The same PRFSPOOL environment variable as the one assumed by the request destination PRF daemon must be set. Otherwise, the command returns an error.
-
If a big value is specified in -PrfTraceCount or -PrfTraceFileSize of the cprfstart command, the normal termination of PRF daemon might take time.