3 Replies Latest reply on Oct 31, 2013 12:50 AM by jaikiran

    How can I monitory memory usage in Jboss7(wildfly)

    isa154

      How can I monitory memory usage in Jboss7(wildfly). I would like so see something similar as in jboss4.3.2 under the jmx console

      jboss.system

       

      ServerInfo

       

      List of MBean attributes:

       

      TotalMemory

      MaxMemory

        • 1. Re: How can I monitory memory usage in Jboss7(wildfly)
          rhanus

          use CLI (jboss-cli.sh) command

           

          [standalone@localhost:9990 /] /core-service=platform-mbean/type=memory:read-resource(include-runtime=true)

          {

              "outcome" => "success",

              "result" => {

                  "heap-memory-usage" => {

                      "init" => 67108864L,

                      "used" => 65314008L,

                      "committed" => 149946368L,

                      "max" => 477102080L

                  },

                  "non-heap-memory-usage" => {

                      "init" => 24576000L,

                      "used" => 43214176L,

                      "committed" => 73334784L,

                      "max" => 318767104L

                  },

                  "object-name" => "java.lang:type=Memory",

                  "object-pending-finalization-count" => 0,

                  "verbose" => false

              }

          }

          1 of 1 people found this helpful
          • 2. Re: How can I monitory memory usage in Jboss7(wildfly)
            isa154

            Thanks so the "heap-memory-usage" is the equivelent of List of MBean attributes for memory

            • 3. Re: How can I monitory memory usage in Jboss7(wildfly)
              jaikiran

              You can even use JConsole (which comes bundled in the JRE) to monitor the usage.