System call for %processor usage and memory?
Is there a C call to get current processor usage
and memory, such as you get from Task Manager? I'm trying to self-regulate a long running background process. -- On the internet, nobody knows you're a jerk. |
System call for %processor usage and memory?
In ,
Ron Hardin wrote: Is there a C call to get current processor usage and memory, such as you get from Task Manager? I'm trying to self-regulate a long running background process. Regulate in what way? Process Lasso does a very good job of taming processes and leaves those that you don't want to be touched. Process Lasso Free - Auto-optimize process priorities and much more! http://www.bitsum.com/prolasso.php -- Bill Gateway M465e ('06 era) - OE-QuoteFix v1.19.2 Centrino Core Duo T2400 1.83GHz - 2GB - Windows XP SP3 |
System call for %processor usage and memory?
BillW50 wrote:
In , Ron Hardin wrote: Is there a C call to get current processor usage and memory, such as you get from Task Manager? I'm trying to self-regulate a long running background process. Regulate in what way? Process Lasso does a very good job of taming processes and leaves those that you don't want to be touched. Process Lasso Free - Auto-optimize process priorities and much more! http://www.bitsum.com/prolasso.php -- Bill Gateway M465e ('06 era) - OE-QuoteFix v1.19.2 Centrino Core Duo T2400 1.83GHz - 2GB - Windows XP SP3 If it's cpu busy, sleep for a while and look again; if it's up around max memory, don't launch another job until it's down again. The question is how to get the numbers. These are background cpu-bound processes that run for weeks. -- On the internet, nobody knows you're a jerk. |
System call for %processor usage and memory?
In ,
Ron Hardin typed: BillW50 wrote: In , Ron Hardin wrote: Is there a C call to get current processor usage and memory, such as you get from Task Manager? I'm trying to self-regulate a long running background process. Regulate in what way? Process Lasso does a very good job of taming processes and leaves those that you don't want to be touched. Process Lasso Free - Auto-optimize process priorities and much more! http://www.bitsum.com/prolasso.php If it's cpu busy, sleep for a while and look again; if it's up around max memory, don't launch another job until it's down again. The question is how to get the numbers. These are background cpu-bound processes that run for weeks. Process Lasso also monitors memory use. And you can tell if what to do based on memory usage. Although I can't tell you much about this, as I haven't found a need for this feature yet. -- Bill Asus EeePC 701 ~ 2GB RAM ~ 16GB-SDHC Windows 2000 SP5 - OE6 - OE-QuoteFix v1.19.2 |
All times are GMT +1. The time now is 02:47 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2004 - 2006 PCbanter
Comments are property of their posters