Top
Symfoware Server V12.1.0 Operation Guide
FUJITSU Software

F.1.3 Options

The options that can be specified when starting the thread dump tool are listed below.

Option

Description

-f logfile

Use this option to specify the thread dump output destination.

If this option is omitted, thread dumps are output as standard output or standard error output.

This cannot be specified at the same time as the -j option.

-j

Specify this option if using the Java VM output routine to output headers and footers.

Specify this option for Java VM instances that are started with the vfprintf_hook option specified in the JNI_CreateJavaVM() function of JNI (Java Native Interface). Use this option if "jbk.plugin.debug.showvmmsg=true" is specified in the jbkplugin.properties file of the JBK plugin.

This cannot be specified at the same time as the -f option.

-p processid

Specify the target process in this option using the process ID.

This cannot be specified at the same time as the "program name with ".exe"" option below.

program name with ".exe"

Specify the target process in this option using a command name with the ".exe" suffix, such as "java.exe".

If a command name is specified, the thread dump tool selects a process that was started using the specified command name, from amongst all of the processes that are currently running on the system, and handles it accordingly. If multiple processes were started from the same command, use the -p option to specify a process ID.

This cannot be specified at the same time as the -p option.

Apart from the "program name with"exe"" option, you can specify the -f, -j, and -p options in any order.

Also, if the -f and -p options are specified multiple times, the last occurrence of the option will take effect.

When the command is executed, output is in the following order: header, footer, and stack trace.

The target process is specified using the process ID or program name with an ".exe" suffix (such as "java.exe"). You can use the Windows (R) "Task Manager" to check process IDs.