How to Check Memory Usage in WebLogic Console and Monitoring WebLogic JVM Heap and CPU Usage in WLSDM

Haydar Seyfi
Aug 22, 2019 · 4 min read

Weak JVM performance affects WebLogic domain performance directly. That’s why the host’s CPU and memory usage is very important in terms of improving WebLogic performance. Higher CPU consumption and Garbage Collection duration can cause applications to run slowly, even cause the WebLogic servers facing downtime. JVM instances in a WebLogic need to be monitored constantly and notification/alarm infrastructure must be installed as well. Below WebLogic console navigation is monitoring

  1. Sign on to the Administration Console by entering the following URL in a browser:
  2. http://hostname01:5500/console
  3. Expand your WebLogic domain then expand Servers.
  4. Click the server you intend to monitor.
  5. Select the Monitoring tab, and the Performance sub-tab.

WLSDM JVM System Resources and Garbage Collection out of box dashboards are available to help you.

You can monitor machines (host) and WebLogic managed servers’ Heap, CPU and Garbage Collection behavior on JVM System Resources and Garbage Collection dashboards.

WLSDM JVM System Resources Dashboard: You are able to monitor CPU Load and Memory Usage from Physical System Resources panel or monitor server instance resources one by one. Take below screen captures for your reference.

Image for post
Image for post
navigate to “WLSDM menu > JVM System Resources”
Image for post
Image for post
JVM Resources Summary, Managed Server CPU/Heap Usage (Real-time)

If you want list additional Managed Server on JVM dashboard; Open “Page Operations” menu and choose Managed Server from the list, then click “Save”. Only selected managed servers (~Applied servers) are shown on the JVM dashboard.

Image for post
Image for post
Open “Page Operations” window to list additional Managed Server(s) on JVM System Resources dashboard page

On the other hand, How to get JVM Metric reports about CPU, Heap usage for a particular date and time? Here is the recipe:

  1. Go to WLSDM JVM System Resources dashboard page
  2. Click “Open Metric Reports” button on Physical System Resources panel
  3. Choose report date interval and click “Get Report”. “Get Report From Daily Data” is faster and all the JMX MBean metric values on WLSDM are available historically for 24 Hours by default.
  4. Then navigate report results on “Report Table” and “Report Chart”
Image for post
Image for post
CPU, Heap Metric Reports: View old values and generate JVM performance reports
Generate JVM Usage Reports (Host and Managed Servers)

5. Generate JVM Usage Reports (Host and Managed Servers)

Now we will configure alarm thresholds for JVM performance to get notifications.

  1. Go to WLSDM JVM System Resources dashboard page
  2. Click “Metric Options” button on Physical System Resources panel as below
Image for post
Image for post
Define or update JVM performance monitoring thresholds. Open “Metric Options” window

3. Configure metric threshold or enable/disable storing data for the relevant metrics

Image for post
Image for post
Image for post
Image for post
Server (Machine/HOST) CPU consumption e-mail notification when it’s over 75%

How to monitor Oracle WebLogic Server JVM (Managed Server) Garbage Collection durations (including MinorGC and MajorGC (aka FullGC) ?

  1. Go to WLSDM Garbage Collection dashboard page
  2. Click “Configure Minor GC Notification Settings” button (for MinorGC monitoring)
Image for post
Image for post

3. Set alarm threshold value

4. Check email notification for “Garbage Collection” warnings

Image for post
Image for post

WLSDM Garbage Collection Dashboard:

Image for post
Image for post

How to generate Oracle WebLogic Heap Dump (HPROF) and CPU Sample (NPSS) ?

  1. Go to “Profiling Dump” page from WLSDM menu
  2. Click “Generate Profiling Dump” button on page
Image for post
Image for post

3. Select server and WLSDM profiling dump action to generate HPROF and NPSS files. You can analyze NPSS and HPROF files with JVisualVM which comes out of box JDK.

Image for post
Image for post

Additionally, we have prepared screen cast tutorial about monitoring, managing and diagnosing WebLogic JVM instance performance and WebLogic garbage collection analytics.

Check below YouTube tutorial for more.

Installation is really easy and you can setup a complete monitoring infrastructure in less than 5 minutes. If you want to try then go to download page below URL:

Image for post
Image for post
Download WLSDM Now !

WLSDM for WebLogic

WLSDM is a WebLogic console extension which enables…

Haydar Seyfi

Written by

Middleware & Application Support Specialist at Volthread

WLSDM for WebLogic

Native Oracle WebLogic Monitoring WLSDM is developed by the best WebLogic developers for the best WebLogic administrators to support mission critical HA domains. Supports all plain WebLogic and Fusion Middleware (FMW) WebLogic domains. Download now! https://wlsdm.com/download

Haydar Seyfi

Written by

Middleware & Application Support Specialist at Volthread

WLSDM for WebLogic

Native Oracle WebLogic Monitoring WLSDM is developed by the best WebLogic developers for the best WebLogic administrators to support mission critical HA domains. Supports all plain WebLogic and Fusion Middleware (FMW) WebLogic domains. Download now! https://wlsdm.com/download

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store