You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2009/11/06 07:01:05 UTC

DO NOT REPLY [Bug 48145] New: Integrating DTrace with JMeter

https://issues.apache.org/bugzilla/show_bug.cgi?id=48145

           Summary: Integrating DTrace with JMeter
           Product: JMeter
           Version: 2.3.4
          Platform: PC
        OS/Version: Solaris
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: gokul007@gmail.com


Created an attachment (id=24492)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24492)
Archive of the necessary files mentioned above

This is in continuation of the discussion in JMeter-Users_List for integrating
the DTrace monitoring stuff with JMeter. As a initial step, here are the files
which will work standalone on a JVM and collect the DTrace details.

a) Copy the attached files into one directory

b) Make sure the current directory and the jar file
/usr/share/lib/java/dtrace.jar are in the class path. The jar file will be
available only after OpenSolaris Build 34, but can be installed by the users
for the other builds

c) The methods to be monitored are to be provided with the file input.txt in
the form package,class,method

d) Make sure to login with the same userid with which the process was started

e) compile the MethodProfiler.java using javac MethodProfiler.java

f) run "java MethodProfiler <pid of the jvm>"



The output will contain the DTrace output. But the average_time, max time and
distribution can be identified out of the output with little bit of difficulty.

It will work only on applications running in JVM 1.6 and above

Thanks,
Gokul.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org