This guide contains the following information:
<ifs restore directory> = The absolute directory path where the IFS portion
of Agent Controller has been restored.
<RAServer PID> = The process identifier for the server process.
CRTLIB HYADESDC
CRTSAVF HYADESDC/HYADESDC
bin cd HYADESDC put HYADESDC.SAVF bye
RSTOBJ OBJ(*ALL) SAVLIB(HYADESDC) DEV(*SAVF) SAVF(HYADESDC/HYADESDC)
RST DEV('/QSYS.LIB/HYADESDC.LIB/HYADESIFS.FILE') OBJ('/opt/hyadesdc/*')
<ifs restore directory>/bin/SetConfig.shscript. Run this script from a qshell (launched via STRQSH) in the <ifs restore directory>/bin directory. This step will require that a Java Virtual Machine (JVM) be present in the system's PATH. Follow the prompts and the output will be the <ifs restore directory>/config/serviceconfig.xml file.
ADDLIBLE HYADESDC
SBMJOB CMD(CALL RASERVER) JOBD(RASTART)
ENDJOB JOB(RASTART) OPTION(*IMMED)
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.
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/*