A Windows XP help forum. PCbanter

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.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Windows XP Help and Support
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

System call for %processor usage and memory?



 
 
Thread Tools Display Modes
  #1  
Old March 22nd 12, 05:57 PM posted to microsoft.public.windowsxp.help_and_support
Ron Hardin
external usenet poster
 
Posts: 170
Default 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  
Old March 24th 12, 10:34 PM posted to microsoft.public.windowsxp.help_and_support
BillW50
external usenet poster
 
Posts: 5,018
Default 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  
Old March 27th 12, 08:07 PM posted to microsoft.public.windowsxp.help_and_support
Ron Hardin
external usenet poster
 
Posts: 170
Default 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  
Old April 5th 12, 02:24 PM posted to microsoft.public.windowsxp.help_and_support
BillW50
external usenet poster
 
Posts: 5,018
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 03:48 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 2004-2014 PCbanter.
The comments are property of their posters.