Linux Commands Examples

A great documentation place for Linux commands

jinfo

Configuration Info

Synopsis

jinfo [ option ] pid
jinfo
[ option ] executable core
jinfo
[ option ] [server-id@]remote-hostname-or-IP


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !

description

jinfo prints Java configuration information for a given Java process or core file or a remote debug server. Configuration information includes Java System properties and Java virtual machine command line flags. If the given process is running on a 64-bit VM, you may need to specify the -J-d64 option, e.g.:

jinfo -J-d64 -sysprops pid

NOTE - This utility is unsupported and may or may not be available in future versions of the JDK. On Windows, jinfo only supports the -flag option of a running process.

options

<no option>

prints both command line flags as well as System properties name, value pairs.

-flag name

prints the name and value of the given command line flag.

-flag [+|-]name

enables or disables the given boolean command line flag.

-flag name=value

sets the given command line flag to the specified value.

-flags

prints command line flags passed to the JVM. pairs.

-sysprops

prints Java System properties as name, value pairs.

-h

prints a help message

-help

prints a help message

parameters

option

Options are mutually exclusive. Option, if used, should follow immediately after the command name.

pid

process id for which the configuration info is to be printed. The process must be a Java process. To get a list of Java processes running on a machine, jps may be used.

executable

Java executable from which the core dump was produced.

core

core file for which the configuration info is to be printed.

remote-hostname-or-IP

remote debug server’s (see jsadebugd) hostname or IP address.

server-id

optional unique id, if multiple debug servers are running on the same remote host.


see also

*

jps

*

jsadebugd

How can this site be more helpful to YOU ?


give  feedback