runtime JVM options

charlie hunt charlie.hunt at sun.com
Thu Dec 11 11:21:02 PST 2008


You can use VisualVM, if you're using JDK 6u7 or later, there's a binary 
in <install dir>/bin/ called jvisualvm that will launch it.  If you 
don't have the luxury of that recent of a JDK installed, then grab the 
VisualVM binary at, https://visualvm.dev.java.net.

You should be able find the JVM args used to launch a JVM in the 
"Overview" tab of a monitored JVM in VisualVM's display.

charlie ...

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
>   




More information about the hotspot-gc-use mailing list