본문 바로가기
오라클/WebLogic

[WLS] WebLogic 12c WLST를 이용한 모니터링

by sangyeon 2022. 1. 25.
728x90
./wlst.sh

1. connect('weblogic','weblogic1','t3://192.168.56.105:7001')
2. wls:/base_domain/serverConfig/> domainRuntime()
3. wls:/base_domain/domainRuntime/> cd('ServerRuntimes/AdminServer')

##############
4. JAVA HEAP
##############
4-1. wls:/base_domain/domainRuntime/ServerRuntimes/AdminServer> cd('JVMRuntime/AdminServer')

wls:/base_domain/domainRuntime/ServerRuntimes/AdminServer/JVMRuntime/AdminServer> ls()

-r--   HeapFreeCurrent                              779616248
-r--   HeapFreePercent                              72
-r--   HeapSizeCurrent                              1073741824
-r--   HeapSizeMax                                  1073741824
-r--   JavaVMVendor                                 Oracle Corporation
-r--   JavaVendor                                   Oracle Corporation
-r--   JavaVersion                                  1.8.0_141
-r--   Name                                         AdminServer
-r--   OSName                                       Linux
-r--   OSVersion                                    4.14.35-1902.7.3.1.el7uek.x86_64
-r--   Type                                         JVMRuntime
-r--   Uptime                                       1533280


##############
5. THREAD
##############

5-1. wls:/base_domain/domainRuntime/ServerRuntimes/AdminServer> cd('ThreadPoolRuntime/ThreadPoolRuntime')
wls:/base_domain/domainRuntime/ServerRuntimes/AdminServer/ThreadPoolRuntime/ThreadPoolRuntime> ls()

-r--   CompletedRequestCount                        10259
-r--   ExecuteThreadIdleCount                       99
-r--   ExecuteThreadTotalCount                      100
-r--   ExecuteThreads                               weblogic.work.ExecuteThreadRuntime[weblogic.work.ExecuteThreadRuntime@56597d82, weblogic.work.ExecuteThreadRuntime@44f07fa4, weblogic.work.ExecuteThreadRuntime@58bb4b69, weblogic.work.ExecuteThreadRuntime@1f0db41a, weblogic.work.ExecuteThreadRuntime@2256f14, weblogic.work.ExecuteThreadRuntime@45ef2dab, weblogic.work.ExecuteThreadRuntime@478dc67c, weblogic.work.ExecuteThreadRuntime@355217f3, weblogic.work.ExecuteThreadRuntime@1ca69382, weblogic.work.ExecuteThreadRuntime@201867c8, weblogic.work.ExecuteThreadRuntime@90ffb91, weblogic.work.ExecuteThreadRuntime@2cc788cc, weblogic.work.ExecuteThreadRuntime@4d52455, weblogic.work.ExecuteThreadRuntime@67103520, weblogic.work.ExecuteThreadRuntime@11359920, weblogic.work.ExecuteThreadRuntime@124e222, weblogic.work.ExecuteThreadRuntime@2cfe99df, weblogic.work.ExecuteThreadRuntime@4aa11055, weblogic.work.ExecuteThreadRuntime@77606cb8, weblogic.work.ExecuteThreadRuntime@5173b584, weblogic.work.ExecuteThreadRuntime@99bfe14, weblogic.work.ExecuteThreadRuntime@4b7a64ca, weblogic.work.ExecuteThreadRuntime@3f8bd4b1, weblogic.work.ExecuteThreadRuntime@73189951, weblogic.work.ExecuteThreadRuntime@25a5a278, weblogic.work.ExecuteThreadRuntime@3de1de32, weblogic.work.ExecuteThreadRuntime@5caebb63, weblogic.work.ExecuteThreadRuntime@6bcb63b6, weblogic.work.ExecuteThreadRuntime@63f5bad5, weblogic.work.ExecuteThreadRuntime@5056f8d7, weblogic.work.ExecuteThreadRuntime@798a241d, weblogic.work.ExecuteThreadRuntime@496c3e49, weblogic.work.ExecuteThreadRuntime@70116a3, weblogic.work.ExecuteThreadRuntime@6076d6d4, weblogic.work.ExecuteThreadRuntime@4874bc0b, weblogic.work.ExecuteThreadRuntime@60424d3a, weblogic.work.ExecuteThreadRuntime@6f79fb9f, weblogic.work.ExecuteThreadRuntime@396f50d2, weblogic.work.ExecuteThreadRuntime@54962710, weblogic.work.ExecuteThreadRuntime@26cf9b25, weblogic.work.ExecuteThreadRuntime@64a3960, weblogic.work.ExecuteThreadRuntime@45e010bb, weblogic.work.ExecuteThreadRuntime@20ab11b0, weblogic.work.ExecuteThreadRuntime@7ae7a033, weblogic.work.ExecuteThreadRuntime@2d310736, weblogic.work.ExecuteThreadRuntime@6811bfe3, weblogic.work.ExecuteThreadRuntime@10cf15c0, weblogic.work.ExecuteThreadRuntime@57eec9d2, weblogic.work.ExecuteThreadRuntime@72c36cae, weblogic.work.ExecuteThreadRuntime@17483bb2, weblogic.work.ExecuteThreadRuntime@7f415d8e, weblogic.work.ExecuteThreadRuntime@5e40bbed, weblogic.work.ExecuteThreadRuntime@370f0a97, weblogic.work.ExecuteThreadRuntime@614c226f, weblogic.work.ExecuteThreadRuntime@1414aee5, weblogic.work.ExecuteThreadRuntime@4fd0f059, weblogic.work.ExecuteThreadRuntime@440086, weblogic.work.ExecuteThreadRuntime@1b05bb, weblogic.work.ExecuteThreadRuntime@3149e0db, weblogic.work.ExecuteThreadRuntime@79538c93, weblogic.work.ExecuteThreadRuntime@5933f30f, weblogic.work.ExecuteThreadRuntime@1dd134f, weblogic.work.ExecuteThreadRuntime@7fec7497, weblogic.work.ExecuteThreadRuntime@1a3e48ed, weblogic.work.ExecuteThreadRuntime@5c536b2e, weblogic.work.ExecuteThreadRuntime@357d5c80, weblogic.work.ExecuteThreadRuntime@29a9ce74, weblogic.work.ExecuteThreadRuntime@4138928c, weblogic.work.ExecuteThreadRuntime@6759b9e, weblogic.work.ExecuteThreadRuntime@59b34e8c, weblogic.work.ExecuteThreadRuntime@3e0ee1a0, weblogic.work.ExecuteThreadRuntime@3ba7a81f, weblogic.work.ExecuteThreadRuntime@11247d9e, weblogic.work.ExecuteThreadRuntime@52a08618, weblogic.work.ExecuteThreadRuntime@1b6a7e0d, weblogic.work.ExecuteThreadRuntime@1d0bca2f, weblogic.work.ExecuteThreadRuntime@2f719c9d, weblogic.work.ExecuteThreadRuntime@79374f2d, weblogic.work.ExecuteThreadRuntime@31e5dc10, weblogic.work.ExecuteThreadRuntime@727c22b1, weblogic.work.ExecuteThreadRuntime@514acd17, weblogic.work.ExecuteThreadRuntime@1247be34, weblogic.work.ExecuteThreadRuntime@dddf530, weblogic.work.ExecuteThreadRuntime@1e273790, weblogic.work.ExecuteThreadRuntime@19827336, weblogic.work.ExecuteThreadRuntime@369bd82c, weblogic.work.ExecuteThreadRuntime@540dcfba, weblogic.work.ExecuteThreadRuntime@7331e91c, weblogic.work.ExecuteThreadRuntime@79202f8f, weblogic.work.ExecuteThreadRuntime@1112d23f, weblogic.work.ExecuteThreadRuntime@2b58afb8, weblogic.work.ExecuteThreadRuntime@575dcac6, weblogic.work.ExecuteThreadRuntime@2ff9dbf5, weblogic.work.ExecuteThreadRuntime@287d771f, weblogic.work.ExecuteThreadRuntime@463638c7, weblogic.work.ExecuteThreadRuntime@7f04c13d, weblogic.work.ExecuteThreadRuntime@1ec39b5b, weblogic.work.ExecuteThreadRuntime@5dc5c213, weblogic.work.ExecuteThreadRuntime@2ac2396c, weblogic.work.ExecuteThreadRuntime@73960820]
-r--   HealthState                                  Component:null,Partition: null,State:HEALTH_OK,MBean:null,Symptoms:[], ReasonCode:[]
-r--   HoggingThreadCount                           0
-r--   MinThreadsConstraintsCompleted               0
-r--   MinThreadsConstraintsPending                 0
-r--   Name                                         ThreadPoolRuntime
-r--   OverloadRejectedRequestsCount                0
-r--   PendingUserRequestCount                      0
-r--   QueueLength                                  0
-r--   SharedCapacityForWorkManagers                65536
-r--   StandbyThreadCount                           0
-r--   StuckThreadCount                             0
-r--   Suspended                                    false
-r--   Throughput                                   49.47526236881559
-r--   Type                                         ThreadPoolRuntime

-r-x   getExecuteThread                             weblogic.management.runtime.ExecuteThread : String(java.lang.String)

 

728x90