Re: Monitoring open socket

2013-05-04 Thread Enrico Olivelli
Thank you for your example. I would like the standard API (ot at least som hotspot specific API, like com.sun.management.UnixOperatingSystemMXBean) to let my app self-describe its network activity A JMX approach will be really simple to use, but other solutions will be welcome The API Socke

Re: Monitoring open socket

2013-05-03 Thread Enrico Olivelli
Il 02/05/2013 22:44, Alan Bateman ha scritto: On 02/05/2013 20:35, Enrico Olivelli wrote: Hi, In jdk7 there is no way to ask the jvm for the list of actually active sockets, witout jni or any other native non-portable solution. Is there any plan to add a jmx set of beans to monitor jvm network a

Re: Monitoring open socket

2013-05-02 Thread Alan Bateman
On 02/05/2013 20:35, Enrico Olivelli wrote: Hi, In jdk7 there is no way to ask the jvm for the list of actually active sockets, witout jni or any other native non-portable solution. Is there any plan to add a jmx set of beans to monitor jvm network activity in a portable manner? Thanks Enrico I

Monitoring open socket

2013-05-02 Thread Enrico Olivelli
Hi, In jdk7 there is no way to ask the jvm for the list of actually active sockets, witout jni or any other native non-portable solution. Is there any plan to add a jmx set of beans to monitor jvm network activity in a portable manner? Thanks Enrico