Jmap command in Linux Check Java Process statistics in Linux
Jinfo command used to get configuration information of particular java process by giving input as a Process Id. Jinfo gives lots of information which will be useful for configuration analysis.
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.
SYNOPSIS
jinfo [ option ] pid
jinfo [ option ] executable core
jinfo [ option ] [server-id@]remote-hostname-or-IP
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.
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.
Options :
<no option>
-flag name
-flag name
-flag name=value
-flags
-sysprops ( prints Java System properties as name, value pairs).
Above are the options which can be used to get in detail information. If you want to see output of this command then please click on next link : Check Java Process Performance in Linux.
Jinfo command used to get configuration information of particular java process by giving input as a Process Id. Jinfo gives lots of information which will be useful for configuration analysis.
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.
SYNOPSIS
jinfo [ option ] pid
jinfo [ option ] executable core
jinfo [ option ] [server-id@]remote-hostname-or-IP
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.
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.
Options :
<no option>
-flag name
-flag name
-flag name=value
-flags
-sysprops ( prints Java System properties as name, value pairs).
Above are the options which can be used to get in detail information. If you want to see output of this command then please click on next link : Check Java Process Performance in Linux.
Hi There,
ReplyDeleteIn debt to you for making my learning on the jinfo-command-used-to-get-configuration. area so hassle-free! I lay my faith on your writings.
I read in articles traditionally served Linux and BSD are increasingly filling the market needs by proprietary Unix operating systems, as well as expanding into new markets such as the consumer desktop and mobile and embedded devices. Is it killing the Windows device market?
Anyways great write up, your efforts are much appreciated.
Thanks and Regards,
Preethi