Easy 1-2-3 Monitoring in v3

1. See what's available for monitoring:
asadmin get server.monitoring-service.\*

2. Turn on monitoring (the output from step #1 will tell you the proper syntax for this set command):
asadmin set server.monitoring-service.module-monitoring-levels.{component}=HIGH

where {component} can be
connector-connection-pool
connector-service
ejb-container
http-service
jdbc-connection-pool
jersey
jms-service
jvm
orb
security
thread-pool
transaction-service
web-container

Example:
asadmin set server.monitoring-service.module-monitoring-levels.jvm=HIGH

Note: either LOW or HIGH will turn on monitoring; use OFF to disable it. Currently, only jvm will give different output for LOW vs. HIGH mode.

3. View statistics
asadmin get -m "\*"

You will see all the JVM statistics. If you don't want all the thread info, set the jvm level to LOW.
To see a subset of the JVM statistics, for example 'memory', you can refine the output:

asadmin get -m "server.jvm.memory.\*"

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Jennifer Chou

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today