How to monitor Java memory usage of heap/permanent generation and gc activities

Solution Verified - Updated -

Issue

  • Is there some way to monitor JBoss perm gen memory. Is there a way to output the information to a log file?
  • How to monitor Java heap and perm memory usage by using command line tool?
  • How to configure JBoss to send an alert when the PS-OLD-Gen memory space reaches a certain amount?
  • We need to monitor the java heap while the app is running. what is the best way to do this?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • All Versions
  • Java
    • OpenJDK
    • Sun/Oracle JDK

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In