If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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. |
Ads |
#2
|
|||
|
|||
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 |
#3
|
|||
|
|||
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. |
#4
|
|||
|
|||
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 |
Thread Tools | |
Display Modes | |
|
|