This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Using Tomcat 6 and the APR to monitor Server resources Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Using Tomcat 6 and the APR to monitor Server resources" Watch "Using Tomcat 6 and the APR to monitor Server resources" New topic
Author

Using Tomcat 6 and the APR to monitor Server resources

Dhana Rengasamy
Greenhorn

Joined: Feb 26, 2010
Posts: 3
Hello, on this page about the apr http://tomcat.apache.org/tomcat-6.0-doc/apr.html it states that it can be used for OS level functionality, also stating that
"OS level statistics on memory usage and CPU usage by the Tomcat process are displayed by the status servlet"

Two questions,

1) are they refering the the server status section of the manager application for this view?

2) Can i call any methods directly that will give me this info, say from a class or servlet as part of a web app to give me the current processor load/memory usage of the server?

Thanks for any help!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using Tomcat 6 and the APR to monitor Server resources
 
Similar Threads
Hibernate DB Connection MS SQL "AWAITING COMMAND" all The Transaction
Invalid method in request in - - - - Tomcat+Apache+Mod_jk Problem ....
performence issue
Tomcat Crashing / Refusal to respond
Memory usage of java application with tomcat