cpu utilisation
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   nalini_v
Posted On:   Friday, June 7, 2002 10:01 PM

I dont know how to get the cpu utilisation and memory usage at run time.

Re: cpu utilisation

Posted By:   Arun_Ramachandra  
Posted On:   Friday, June 21, 2002 07:41 AM

Not sure if there are native OS functions(depending on the OS you are using) which do this for you.

For free memory,take a look at java.lang.Runtime.You have 2 functions: freeMemory and totalMemory() there which maybe what you want.

-Arun
About | Sitemap | Contact