Thursday, March 14, 2013

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.


Difference of Unix and Linux                                                         Pass argument to Shell script 
Posted by Machindra Dharmadhikari On 3/14/2013 11:02:00 AM No comments

0 comments:

Post a Comment

  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
  • Youtube

    Chitika Ads 2

    Histat

    About

    Enter your email address:

    Delivered by FeedBurner