Do you even have any kind of hardware that gets the temperature?
server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
Where is this boot menu at? I don't think what your seeing is the temperature, it might be the % usage of some process, but not the temperature.
server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
Yes, you can get the usage, availible RAM, and stuff like that, using this class:
System.Diagnostics.PerformanceCounter
I don't have any examples handy, or I would post some code.
server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
i tried what u said, but the class doesn't exist
I am really sorry, that's a class in C#(syntax looks the same!). My mistake. I do think there is a way of doing this using JNI.
Look at this thread, I think it might help: http://forum.java.sun.com/thread.jspa?threadID=578911&messageID=2915348
I believe you have to do a bunch of other things besides in java to get the CPU usage.
server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20