This guide contains the following information:
<ifs restore directory> = The absolute directory path where the IFS portion of Agent Controller has been restored.
If you want to make a change to the configuration file that was generated in step 7, the file can be manually edited using the rules outlined in the document Agent Controller configuration files. The server must be restarted to load changes.
The Java Profiler is a library that attaches to a JVM to capture and record the Java application's behavior. The output from the profiling agent is
in the form of XML fragments.
Documentation on the composition of these XML fragments is located at:
http://www.eclipse.org/tptp/platform/documents/resources/profilingspec/XML4Profiling.htm
The Java Profiler can be launched from the Eclipse workbench. From the Profiling and Logging Perspective of Eclipse workbench you can launch applications using the Run > Profile menu or the toolbar button. Applications in the current Eclipse workbench's workspace or external Java applications located in the file system can be launched and profiled.
Note:
Step 5 in Configuring and starting Agent Controller is required for invoking
the Java Profiler from the command line. Also, multithread capability must be
enabled to profile a java application from the command line. Under QShell, the
environment variable QIBM_MULTI_THREADED must be set to Y by the
command: export QIBM_MULTI_THREADED=Y. 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:
<agent_controller_home>\plugins\org.eclipse.tptp.platform.collection.framework_4.0.0\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="C:\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 "C:\AgentController\lib\hcframe.jar";. TestClass
classpattern methodpattern mode , where:
To uninstall the agent controller:
ENDJOB JOB(RASTART) OPTION(*IMMED)
rm -r /opt/hyadesdc/*