Bookmark Topic Watch Topic
  • New Topic

Urgent!!! Need help for java API

 
gangs sandrani
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Report post to moderator
i am new to JAVA development... Need help for API to get applications memory usage and cpu cycles in java under linux machine...
 
Sumit Bisht
Ranch Hand
Posts: 331
Python Ruby Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
You can use java.lang.Runtime class for memory usage.
In finding the CPU usage, this might help : http://www.javaworld.com/javaworld/javaqa/2002-11/01-qa-1108-cpu.html
 
Darryl Burke
Bartender
Posts: 5155
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Report post to moderator
1. Ease Up.
2. Use One Thread Per Question.

Locking up here.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!