Kbase P162753: How can I view the memory statistics of the AdminServer using Jconsole?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  4/1/2010 |
|
Status: Unverified
GOAL:
How can I view the memory statistics of the AdminServer using Jconsole?
GOAL:
How to configure JConsole to monitor an AdminServer
FACT(s) (Environment):
OpenEdge 10.1x
OpenEdge 10.2x
All Supported Operating Systems
FIX:
Edit the AdminServerPlugins.properties file in your $DLC/properties directory, and add the following new Plugin Policy Group.
Note that the port number used here is arbitrary and does not have to be 5555.
Choose any port number as long as it is not already being used by another process:
1) Modify the section: [PluginPolicy.Progress]
2) Add the following to any jvmargs settings that might already exist.
Example if nothing is defined for the jvmargs (note this is one long line):
jvmargs=-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=5555
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
3) Restart the AdminServer
4) If jconsole has not been installed then install an appropriate Java Development Kit (jconsole is provided in the JDK)
If the jmxremote port was defined as 5555 and it was running remotely on machine myremotehost1 then the proper jconsole command to connect to it would be:
jconsole myremotehost1:5555
This will bring up a GUI interface for jconsole. It will require a username and password to connect to the AdminServer.
JConsole allows you to save the data presented in the charts in a Comma Separated Values (CSV) file.
To save data from a chart, simply right-click on any chart.
Select Save data as...
Specify the file in which the data will be saved.
You can save the data from any of the charts displayed in any of JConsole's different tabs in this way.