i wrote a little test programm which queries the status servlet of a tomcat an fetches the memory information of the jvm (free,total,max). Is there a way to get more information ?
Like CPU, memory of the process, system memory and so on. I know that some of these things may possible to get somehow because there are tools (e.g. probe) which can fetch more information. What i want to achieve is to build maybe an ant task which i can call(is there maybe an better approach or already something ready to use?), which log’s as much information for the time being. Any information/help would be appreceated. Thanks.
kukudas
You can pull out a great deal using JMX , Tomcat has some docs on how to enable JMX, and also ant tasks for querying the management beans.
Try hook up jconsole to Tomcat after you’ve enabled JMX, you can browse all the management information available from a GUI.