jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gokulakannan Somasundaram <>
Subject Re: Integrating Monitoring stuff
Date Wed, 04 Nov 2009 11:18:21 GMT
The update is that i was able to create a DTrace script and monitor method
level timings. But then i had trouble using the Runtime.Exec of java to
execute and get the output periodically.

I found that there is a library called jDTrace and it comes with Solaris 11
build 30 or later.  This provides an interface to DTrace from Java. So i
used it in my code.

DTrace makes use of a scripting language called which is very limited in its
expressiveness. It doesn't have if conditions, for loops or string
manipulation stuffs. So everytime the requirements are changed, i am
creating a new DTrace script, using gawk( GNU version of awk ). So the
prerequisistes for using this would be
a) Solaris 11 build 30 or later
b) gawk

Now i have a java program which takes the pid and the methods to be
monitored(along with class and package) and gives the following stats

a) average time taken every 5 seconds
b) Min and Max time taken every 5 seconds
c) Frequency distribution of method call timings every 5 seconds.

There are some probes in DTrace like the profile probes, which requires
DTrace Kernel privilege to get fired. But the script which gets generated
here doesn't require any extra privileges. It onyl requires you to start the
monitoring stuff  with the same user id, with which the process to monitor
was started.

Now the final part of the puzzle is to integrate it with JMeter. Will this
be useful to the community and can i get some guidance on the integrating


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message