• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java API to retrieve Windows Virtual memory  RSS feed

 
Subash Sagar
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am looking for API in java to retrieve the windows platform information such as the virtual memory, hard disk size and etc...

Can any one help me out to find a API in java

Thanking You
Subash
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Would the JVMPI(deprecated) or JVMTI do the trick? It's certainly a good place to start.

http://java.sun.com/j2se/1.4.2/docs/guide/jvmpi/jvmpi.html

"A profiling tool based on JVMPI can obtain a variety of information such as heavy memory allocation sites, CPU usage hot-spots, unnecessary object retention, and monitor contention, for a comprehensive performance analysis."

Hope that gives you a place to start.

With WebSphere, we have the Tivoli Resource Analyzer. I'm sure every vendor provides their own set of profiling tools as well.

-Cameron McKenzie
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!