[PLUG] need variable for JVM monitoring

Vikas Tara vik at hamaralinux.org
Thu Mar 15 16:50:50 IST 2018


On 15/03/18 10:49, Amey Abhyankar wrote:
> On 15 March 2018 at 13:10, Vikas Tara <vik at hamaralinux.org> wrote:
>> On 15/03/18 05:26, Amey Abhyankar wrote:
>>> Hello,
>>>
>>> Anybody from Java back ground can tell me how to add variable for JVM
>>> monitoring in Linux env?
>>>
>>> I have a executable application in Linux with .sh extension.
>>> I want to add variable for java heap size monitoring.
>>>
>>> Thanks.
>>>
>>> Regards,
>>> Amey.
>>> _______________________________________________
>>> plug-mail mailing list
>>> plug-mail at plug.org.in
>>> http://list.plug.org.in/listinfo/plug-mail
>> Take a look at https://visualvm.github.io/
> Thanks.
>
> I am stuck at =  'Enabling JMX Ports' inside the application itself. :-)
> I am using openJDK 1.8.x
>
> Defined following line in my application =
> -Dcom.sun.management.jmxremote
> -Dcom.sun.management.jmxremote.port=100xx
> -Dcom.sun.management.jmxremote.ssl=false
> -Dcom.sun.management.jmxremote.authenticate=false"
>
> It's not helping.
Looks like a mistake here:

-Dcom.sun.management.jmxremote.port=100xx



More information about the plug-mail mailing list