File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Implementing a Java Agent