jheapprof(Output of extended thread dump containing Hitachi class-wise statistical information)
Format
jheapprof [-i|-f] [-class class-name] [-staticroot|-nostaticroot]
[-explicit|-noexplicit] [-fullgc|-copygc|-nogc]
[-garbage|-nogarbage] [-rootobjectinfo|-norootobjectinfo]
[-rootobjectinfost value ] [-force] -p process-ID
Function
This command outputs an extended thread dump that contains the Hitachi class-wise statistical information for the java process indicated by the process ID specified in the argument.
Arguments
Return values
Input example
% jheapprof -p 2463
Writing Java core to javacore2463.030806215140.txt... OK |
Output format
For the output format of the Hitachi class-wise statistical information, see 9.10 Class-wise statistical information analysis functionality in the uCosminexus Application Server Maintenance and Migration Guide.
Output messages
If the following error messages or warning messages are issued, the extended thread dump containing the Hitachi class-wise statistical information is not output:
Table 10-10 Error messages output by the jheapprof command (in Windows)
No. | Error message | Explanation |
---|---|---|
1 | usage: jheapprof [-f|-i] [-class classname] [-staticroot|-nostaticroot] [-explicit|-noexplicit] [-fullgc|-copygc|-nogc] [-garbage|-nogarbage] [-rootobjectinfo|-norootobjectinfo] [-rootobjectinfost size] -p process-id | An argument specified for the jheapprof command is invalid. |
2 | jheapprof: illegal option --option | The indicated option (option) specified in the jheapprof command is invalid. |
3 | process-id: Now processing previous request, this request canceled | The process indicated by process-id specified in the argument of the jheapprof command is currently engaged in the output of the class-wise statistical information. |
4 | process-id: Not owner | 0 is specified in process-id specified in the argument of the jheapprof command. |
5 | jheapprof: can't create work file at temporary directory, this request canceled | If the user does not have permission to reference or write data into the directory for temporary files, the extended thread dump containing the Hitachi class-wise statistical information cannot be output. The output request for the extended thread dump containing the Hitachi class-wise statistical information is cancelled. |
6 | jheapprof: can't get temporary directory, this request canceled | If directory for temporary files cannot be acquired, the extended thread dump containing the Hitachi class-wise statistical information cannot be output. The output request for the extended thread dump containing the Hitachi class-wise statistical information is cancelled. |
7 | jheapprof: please delete name-of-undeleted-file in full-path-of-undeleted-file | When the jheapprof command terminated, it could not delete an internal file. Delete the indicated file on the indicated full path. |
8 | jheapprof: unexpected error occurred: error-cause | An unexpected error occurred during jheapprof command execution. The following are examples of causes that may be displayed in error-cause:
|
9 | jheapprof: can't communicate with process process-id | Communication with the process indicated by process-id specified in the jheapprof command was not possible because the process has a problem or an error occurred in communication. |
10 | process-id: Timeout occurred. Java process not responding. | The process indicated by process-id specified in the jheapprof command did not return a response indicating that the process for output of Hitachi class wise statistics was completed within the specified amount of time. Or, the indicated process (process-id) is not a Java process. |
Table 10-11 Error messages output by the jheapprof command (in UNIX)
No. | Error message | Explanation |
---|---|---|
1 | usage: jheapprof [-f|-i] [-class classname] [-staticroot|-nostaticroot] [-explicit|-noexplicit] [-fullgc|-copygc|-nogc] [-garbage|-nogarbage] [-rootobjectinfo|-norootobjectinfo] [-rootobjectinfost size] [-force] -p process-id | An argument specified for the jheapprof command is invalid. |
2 | jheapprof: illegal option --option | The indicated option (option) specified in the jheapprof command is invalid. |
3 | process-id: Now processing previous request, this request canceled | The process indicated by process-id specified in the argument of the jheapprof command is currently engaged in the output of the class-wise statistical information. |
4 | process-id: No such process | The process indicated by process-id specified in the argument of the jheapprof command is not found or the process indicated by process-id specified in the jheapprof command is not the java process. |
5 | process-id: Not owner | The user is not the owner of the process indicated by process-id specified in the argument of the jheapprof command. |
6 | jheapprof: can't create work file at temporary directory, this request canceled | If the user does not have permission to reference or write data into the directory for temporary files, the extended thread dump containing the Hitachi class-wise statistical information cannot be output. The output request for the extended thread dump containing the Hitachi class-wise statistical information is cancelled. |
7 | jheapprof: please delete name-of-undeleted-file in full-path-of-undeleted-file | When the jheapprof command terminated, it could not delete an internal file. Delete the indicated file on the indicated full path. |
8 | jheapprof: unexpected error occurred: error-cause | An unexpected error occurred during jheapprof command execution. The following are examples of causes that may be displayed in error-cause:
|
9 | process-id: Timeout occurred. Java process not responding. | The process indicated by process-id specified in the argument of the jheapprof command did not return a response indicating that the output processing terminated within the fixed time for the Hitachi class-wise statistical information. |
Notes