Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using Tomcat 6 and the APR to monitor Server resources

Dhana Rengasamy
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, on this page about the apr 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!
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!