Remote profiler install agent automation

Questions about YourKit Java Profiler
Post Reply
PeshChuka
Posts: 8
Joined: Wed Mar 05, 2014 3:28 pm

Remote profiler install agent automation

Post by PeshChuka »

Hello,
we recently bought yourkit. We have a remote websphere server and we want to automate the installation of the agent. We use yjp.sh -integrate command. It is asking several questions that we answer with user input in order to install it. Is it possible that we somehow predefine the input and it does not ask these questions. Or if you can suggest another way to improve the automatization?

Thanks!
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Remote profiler install agent automation

Post by Anton Katilin »

Hello,

To enable profiling, a JVM option -agentpah:<parameters> should be specified. You can find detail here:
http://yourkit.com/docs/java/help/startup_options.jsp

What the integration wizard does is (1) preparing -agentpath with appropriate options and (2) inserting the option to the server-specific place. So you can run the wizard and compare the file it has generated with the original one. You'll need to insert the same option into the same place to repeat the wizard's job.
Post Reply