i'm in urgent need for a code to get CPU AND MEMORY UTILIZATION VALUES IN JAVA.
CAN I KNOW HOW TO GET CPU AND MEMORY UTILIZATION VALUES FROM SYSTEM AND PUT IT INTO ALOG FILE.
PLZ DO HELP MEE.
ITS OF ATMOST VERY URGENT.PLZZZZ :confused:
What, got a project due for class tomorrow?
You'll probably have the best luck on Google. I found a link to Java Ranch Hand by searching "CPU AND memory AND java"
If your using 2k or xp, use the admistrative tool, preformance manager and create a log suited for your needs. Good luck.
Take a look at RamIdlePro:
You will have to figure the interface/output yourself but it reports what you want and is free for home use and students.
For what system? *BSD? Linux? Windows?