[PLUG] need variable for JVM monitoring
Amey Abhyankar
sco1984 at gmail.com
Fri Mar 16 17:00:09 IST 2018
On 15 March 2018 at 16:50, Vikas Tara <vik at hamaralinux.org> wrote:
> 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
It's actually -Dcom.sun.management.jmxremote.port=10081
Last 2 number were hidden :-)
Do you mean I should use port range from lower range? Thanks.
>
> _______________________________________________
> plug-mail mailing list
> plug-mail at plug.org.in
> http://list.plug.org.in/listinfo/plug-mail
More information about the plug-mail
mailing list