Search This Blog

Thursday, October 15, 2009

J2EE Engine : Monitoring – JCmon

 

The JCmon is a native monitoring program, part of the startup and control framework, which can be used to:

1.      Display a list of the processes

2.      Enable, disable, and restart the specified processes

3.      Shutdown a specified J2EE instance

4.      Enable/disable debugging for a specified process

5.      Dump stack trace

6.      Display a list of the ports used by the J2EE Engine

7.      Activate/deactivate debug sessions

8.      Increment/decrement the trace level

 To start the JCmon, execute the jcmon script file from the /usr/sap/<SID>/<INSTANCE NAME>/j2ee/os_libs directory, where <SID> is the system ID of the cluster (for example, C11) and <INSTANCE NAME> is the instance name of the J2EE instance (for example, JC00). The instance name consists of a prefix (JC or J) and the two-digit instance number afterwards. As parameter for the jcmon script file specify the SAP instance profile:

jcmon pf=/usr/sap/<SID>/sys/profile/<SAPSID>_<INSTANCE_ID>_<HOST>.

Example:

jcmon pf=/usr/sap/C11/sys/profile/C11_JC00_testpc.

 Enter command '20' to display the main menu.


 

No comments:

Post a Comment