This guide contains the following information:
<ac_dir> = The absolute directory path where Agent Controller has been unzipped. For example, /opt/RAC.
If you want to make changes to the configuration file that was
generated in step 2, you may run the SetConfig.sh script
again or you may manually edit the file according the rules outlined in
the document
Agent Controller configuration
files. The Agent Controller must be restarted for the changes
to take effect.
If you enable security during the configuration step (via SetConfig.sh), currently you need to start the Agent Controller using the root user id. Please refer to the Security Overview section of the Working with the Agent Controller document for more information on this topic.
Note that the fourth step in Configuring and
Starting Agent Controller is required to query the version of the
agent controller.
To display the version of Agent Controller, simply type:
RAServer -v
or
RAServer -version
The Agent Controller will display its version and terminate.
All Agent Controller log entries will be placed in <ac_dir>/config/servicelog.log.
The Java Profiler can be launched from the Eclipse TPTP workbench. From the Profiling and Logging Perspective of the Eclipse workbench you can launch applications using the Run > Profile menu or the toolbar button. A wizard will come up and follow the wizard to profile an application. Applications in the current Eclipse workbench's workspace or external Java applications located in the file system can be launched and profiled.
Note that the fourth step in Configuring and starting Agent Controller is required for invoking the Java Profiler from the command line. The Java Profiler is invoked from a command line using the -Xrun JVM option as follows:
-XrunpiAgent[:agent_parm[,agent_parm]*where agent_parm may be:
<ac_dir>/plugins/org.eclipse.tptp.platform.collection.framework_<version>/config/pluginconfig.xmlThe following modification is required:
<Agent client="DYNAMIC" configuration="default" dataChannelSize="64M" name="Java Profiling Agent" type="Profiler"/>should be modified to
<Agent client="HEADLESS" configuration="default" dataChannelSize="64M" name="Java Profiling Agent" type="Profiler" logFile="<some_dir>/profile.trcxml"/>Note that the Agent client attribute has been changed to "HEADLESS" and that the "logFile" attribute has been added.
java -XrunpiAgent:server=applicationControlled -classpath .:<ac_dir>/plugins/org.eclipse.tptp.platform.collection.framework_<version>/hcframe.jar TestClass
classpattern methodpattern mode , where:
To uninstall the Agent Controller: