hi...
how to find cpu is idle or not in java
iam doing file searcher...
this facility avoids hanging the system...
this is so convinient for user...
Thanks!!
IchBin - 05 Mar 2006 23:20 GMT
> hi...
>
[quoted text clipped - 3 lines]
> this is so convinient for user...
> Thanks!!
Off the top you could look at this free program If you are on the
windows platform.
http://www.whatsrunning.net
Just tried to link to is but it must be down.

Signature
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Alan Krueger - 06 Mar 2006 03:43 GMT
> how to find cpu is idle or not in java
> iam doing file searcher...
> this facility avoids hanging the system...
> this is so convinient for user...
You might want to manage that at the operating system level, which
already has a task scheduler, rather than trying to implement one
yourself. That is, launch the JVM that runs your file searcher using a
priority below that of normal processes so that it will essentially grab
idle CPU time but not much else.
expert-services@tethyssolutions.com - 06 Mar 2006 23:16 GMT
Use task scheduler to schedule your task. In Settings for that task
check "Only start the task if computer has been idle for at least x
minutes".
Tethys Solutions, Expert Services Group
http://www.tethyssolutions.com/ask-the-expert.htm
SMART Macro & Automation Software