The jdk has command line tools such jpstat. Try with:
jpstat -gcutil [Pid] 2000 20 You only have to specify the pid of your java process. El jun 25, 2014 12:23 PM, "djdick" <[email protected]> escribió: > We're looking for simply the amount of the heap used, no need to analyze > the > contents of the heap. At least not at this point. We'd like to be able to > see the utilization over time to detect when any spikes may occur. jconsol > looks like it might help but we wanted something from the command line. > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/ActiveMQ-Heap-Size-Monitoring-tp4682487p4682489.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >
