We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › Help... How to get processor usage and ram usage
Page Index Toggle Pages: 1
Help... How to get processor usage and ram usage (Read 376 times)
Help... How to get processor usage and ram usage
Dec 20th, 2008, 4:31am
 
I want to make a program that gets as a variable the processor usage and the ram usage. I'm a n00b at processing so code and a description would be nice.  Please and thank you...
Re: Help... How to get processor usage and ram usa
Reply #1 - Dec 20th, 2008, 11:39am
 
Java isn't the best suited for this task, as it aims at being system/cpu agnostic. Now, it can access low level information, often by using C routines, which thus must exist for your system.
In any case, it isn't going to be simple. If you want to do a gadget monitoring such usage, I doubt Java is the best suited.

Anyway, you can have some information at How to monitor the computer’s cpu, memory, and disk usage in Java.
Page Index Toggle Pages: 1