This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Implementing a Java Agent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Implementing a Java Agent" Watch "Implementing a Java Agent" New topic
Author

Implementing a Java Agent

Arun C Mohan
Greenhorn

Joined: Aug 24, 2012
Posts: 2
Hi,
I am required to build a Java Profiler Agent using YourKit Java Profiler that can be a attached to a Virtual Machine that is listed. The Virtual Machines running can be listed using the following code:



There is also provision for self profiling an application. The code is:


The situation that I have encountered is to convert the above profiling code to an Agent that can be attached to the Virtual Machine. I am not familiar with the norms of building an agent and my searches haven't produced any utilizable results for this situation. So at this point, any and every help in this regard is more than welcome.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Implementing a Java Agent
 
Similar Threads
AOP Not working with Spring 3 MVC application
Profiling in WebSphere
Different flavors in MyEclipse
ibm websphere test 157 for websphere studio application developer 4.0.3 for windows
WSAD 5.0 profiling