Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Tomcat 6 and the APR to monitor Server resources

 
Dhana Rengasamy
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic