JCMON: J2EE Engine Monitoring



Share this article :

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

• Display a list of the processes
• Enable, disable, and restart the specified processes
• Shutdown a specified J2EE instance
• Enable/disable debugging for a specified process
• Dump stack trace
• Display a list of the ports used by the J2EE Engine
• Activate/deactivate debug sessions
• Increment/decrement the trace level

1. To start the JCmon, log on to the system using <SID>adm and execute the monitor.

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

2. From the main menu, there are 4 menu choices which 0 is to exit the Main Menu. 10 is Cluster Administration Menu which can administer for the whole Java system. 20 is Local Administration Menu which can administer the node that currently connected. 30 is Shared Memory Menu which can perform refresh shared memory and etc.

============================================================
JControl Monitor Program - Main Menu
============================================================
0  : exit
------------------------------------------------------------
10 : Cluster Administration Menu
------------------------------------------------------------
20 : Local Administration Menu
------------------------------------------------------------
30 : Shared Memory Menu (Solid Rock, experimental)
------------------------------------------------------------
command => 20
|Idx|Name               |PID     |State                |Error|Restart|
|---|-------------------|--------|---------------------|-----|-------|
|  0|dispatcher         |    1234|Running              |    0|yes    |
|  1|server0            |    1234|Running              |    0|yes    |
|  2|SDM                |     123|Running              |    0|yes    |
------------------------------------------------------------


============================================================
JControl Monitor Program - Administration Menu  (Local)
Instance : xx_xxxxx_xx_xx
============================================================
0  : exit
1  : Refresh list
2  : Shutdown instance
3  : Enable process
4  : Disable process
5  : Restart process
6  : Enable bootstrapping on restart
7  : Disable bootstrapping on restart
8  : Enable debugging
9  : Disable debugging
10 : Dump stacktrace
11 : Process list
12 : Port list
13 : Activate debug session
14 : Deactivate debug session
15 : Increment trace level
16 : Decrement trace level
17 : Enable process restart
18 : Disable process restart
19 : Restart instance
------------------------------------------------------------
40 : Enable bootstrapping for all processes with specified process type
41 : Enable bootstrapping for all processes excluding specified process type
------------------------------------------------------------
99 : Extended process list on/off
------------------------------------------------------------
command =>

Related posts

Performing a SAP LAN Check with PING
Auto Register Program on SAP Gateway after Terminated
Move Favorites Links to Another SAP System
could not find code page for receiving system
© 2018 ITsiti. All Rights Reserved
Powered by KEEM