Use GlobalMemoryStatusEx
(http://msdn.microsoft.com/en-us/library/aa366781(VS.85).aspx)

Cheers,
Carl

On Mon, Aug 18, 2008 at 11:39 PM, Vikas... <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am creating a window service using delphi 5. I need some help is getting
> the CPU memory usage of the machine so that my service runs when CPU usage
> is low. Is there any way to find out the CPU usage. Is there soem registry
> key or soemthing. I am not sure actually.
>
> I will  really appreciate if you provide me with some suggestions
>
> Regards
> vikas
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi@delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to [EMAIL PROTECTED] with Subject:
> unsubscribe
>
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

Reply via email to