Link to home
Start Free TrialLog in
Avatar of thready
thready

asked on

Windows 7 C++ CPU & memory load

Hi Experts,

I need a little function that will give me the percentage CPU and the percentage memory and return false if

BOOL IsServerLoadWithinAcceptableThresholds(int nMaxCPUPercent=75, int nMaxMemoryPercent=95);

Open in new window


Can anyone help with this?
Thank you!
Mike
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of thready
thready

ASKER

Thanks jkr!
Have a great weekend!