runtime JVM options

Rainer Jung rainer.jung at kippdata.de
Thu Dec 11 21:28:56 UTC 2008


Am 11.12.2008 19:37, schrieb Victor Cheung:
> 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?

If you have programmatic access, you can use getInputArguments() of
java.lang.management.RuntimeMXBean. E.g. when your app is a webapp, you
can add a servlet that returns such information to the browser for
remote debugging purposes.

Regards,

Rainer
--
kippdata
informationstechnologie GmbH   Tel: +49 228 98549 -0
Bornheimer Str. 33a            Fax: +49 228 98549 -50
D-53111 Bonn                   www.kippdata.de

HRB 8018 Amtsgericht Bonn / USt.-IdNr. DE 196 457 417
Geschäftsführer: Dr. Thomas Höfer, Rainer Jung, Sven Maurmann
_______________________________________________
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