runtime JVM options

Moazam Raja moazam at apple.com
Thu Dec 11 18:43:55 UTC 2008


[~]$ jinfo

Usage: jinfo [option] <pid>
		(to connect to a live java process)
    or jinfo [option] <executable> <core>
		(to connect to a core file)
    or jinfo [option] [server_id@]<remote server IP or hostname>
		(to connect to a remote debug server)

where option must be one of:
     -flags	to print VM flags
     -sysprops	to print Java System properties
     <no option>	to print both of the above
     -h | -help	to print this help message


-Moazam

On Dec 11, 2008, at 10:37 AM, Victor Cheung wrote:

> Hihi,
>
> Unfortunately I only have read-only ssh access to the unix  
> environment where the server is running.  I can't create or edit any  
> files.  And enabling a JMX port for remote connections is not an  
> option for me.
>
> Are there other ways for me to get this information?
>
> victor
>
> -----Original Message-----
> From: Jon.Masamitsu at Sun.COM [mailto:Jon.Masamitsu at Sun.COM]
> Sent: Thursday, December 11, 2008 12:18 PM
> To: Victor Cheung
> Cc: hotspot-gc-use at openjdk.java.net
> Subject: Re: runtime JVM options
>
> I think jconsole will give you the JVM
> command line under the "VM Summary" tab.
>
> On 12/11/08 08:48, Victor Cheung wrote:
>> Hihi all,
>>
>>
>>
>> I cannot seem to find the answer to this.  How can we get a list of
>> **all** the options and values that a running JVM is using?
>>
>>
>>
>> victor
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> hotspot-gc-use mailing list
>> hotspot-gc-use at openjdk.java.net
>> http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use
> _______________________________________________
> hotspot-gc-use mailing list
> hotspot-gc-use at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use

_______________________________________________
hotspot-gc-use mailing list
hotspot-gc-use at openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use



More information about the hotspot-gc-dev mailing list