Hitachi

uCosminexus Application Server Command Reference Guide


cprfflush (forcibly output buffer contents to a file)

Organization of this page

Format

cprfflush [-PRFID prf-identifier] [-h]

Function

This command requests the PRF daemon to output the trace information stored in the buffer.

The output range begins with the trace following the last trace that was output during the previous file output operation to the most recently collected trace.

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.

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.

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