cjcldumpap (get thread dump of Java application )
- Organization of this page
Format
cjcldumpap [process-ID]
Function
This command outputs the thread dump for the Java application started using the cjclstartap command, in the current directory where the cjclstartap command is running. You can also output the thread dump of the specified cjclstartap process.
When you do not want to specify the process, execute this command in the current directory where the cjclstartap command for which you want to output the thread dump is running.
Arguments
- process-ID
-
Specifies the process ID of the cjclstartap command to output the thread dump of a specific process. When no argument is specified, the thread dump is output for the cjclstartap process invoked from the current directory where the cjcldumpap command is executed. If a non-existing process ID is specified, an error message is displayed and then the command is terminated abnormally.
If a value other than the process ID is specified, the command usage is displayed.
Return value
- 0:
-
The command is terminated normally.
- 1:
-
The command is terminated abnormally.
Notes
-
Only a user who executed the cjclstartap command or the superuser can execute the cjcldumpap command.
-
When the cjclstartap command is executed without specifying false in ejb.client.directory.shareable of usrconf.cfg, an error message might be displayed and the thread dump might not be output, if the cjcldumpap command is executed without specifying process-ID in the argument.
-
If you start a Java application from Manager or as a Windows service, you might fail to acquire the thread dump.