Hi all!

        Sometime ago I enquired about the existence of a probe that would give 
information on a running Java Virtual Machine (JVM). Unfortunately it's 
a Linux only probe (for now at least).

        Now I am happy to present to the community a probe developed in C that 
can monitors a JVM and report to a gmond. It's publishing of metrics is 
similar to that of gmetric.

        It works by parsing the info at /proc/pid/status of the Linux tasks 
relevant to the JVM (depending on the kernel the status file reports 
just one process with threads or a set of tasks that represent 
process/threads).

        Although this probe is now used for monitoring Java services it can be 
used to monitor any other kind of process that has a long time span. 
It's a kind of process oriented metrics.

        It was done in C for the usual question on intrusiveness. Memory 
footprint is around 1.5 Mb Vss and it uses 0.1% of the CPU with 10 
seconds of interval between samples.

        This probe can be downloaded at:
http://student.dei.uc.pt/~mtavares/index.php?content=software

        Installation requires ganglia to be installed using the source code. 

        I would be glad to hear comments, bug reports and, even better, to 
receive patches.

                                Miguel Tavares

        
-- 

"Until they become conscious they will never rebel,
 and until after they have rebelled they cannot become conscious."

        - George Orwell's 1984 - 

Attachment: pgphwKXctlSJ5.pgp
Description: PGP signature

Reply via email to