S
silarri
Hi everybody,
I am trying to determine which is the best way of monitoring the
performance of
a JVM execution. What I want to do is to obtain, from Java code, the %
of CPU and memory that at a certain instant is consuming the JVM
(better if I can get additional information such as network usage!). Is
there any way I can do this easily?
I have been browsing through the Internet and I cannot find a clear
answer to this topic (using an profiler or the hprof option of the JVM
does not seem to help here).
I am executing my application in Linux, but I would prefer a method
that does not depend on the OS.
Thanks in advance,
Sergio
I am trying to determine which is the best way of monitoring the
performance of
a JVM execution. What I want to do is to obtain, from Java code, the %
of CPU and memory that at a certain instant is consuming the JVM
(better if I can get additional information such as network usage!). Is
there any way I can do this easily?
I have been browsing through the Internet and I cannot find a clear
answer to this topic (using an profiler or the hprof option of the JVM
does not seem to help here).
I am executing my application in Linux, but I would prefer a method
that does not depend on the OS.
Thanks in advance,
Sergio