Jump to content
Sign in to follow this  
CaryLewis

Determine if computer is "idle"

Recommended Posts

CaryLewis

I am working on some computer benchmarking scripts, and one of the things I want to do is determine when a computer has completed booting up.

My idea is to monitor the CPU and other metrics and when the things I am monitoring are within predetermined limits, declare that the system is idle, and therefore fully booted.

I am thinking of monitoring the following:

Tray Icons - When the number of icons stops increasing - chances are the start up programs are complete

CPU Usage - when less than 15% for at least 5 seconds, system may be idle

Disk Usage - This is reason I am posting to the forum, I can not figure out a way to cleanly monitor disk usage. I essentially want a way for autoit to determine if there has been any disk activity on drive c:\.

Any suggestions would be appreciated.

Share this post


Link to post
Share on other sites
punisa

I am working on some computer benchmarking scripts, and one of the things I want to do is determine when a computer has completed booting up.

My idea is to monitor the CPU and other metrics and when the things I am monitoring are within predetermined limits, declare that the system is idle, and therefore fully booted.

I am thinking of monitoring the following:

Tray Icons - When the number of icons stops increasing - chances are the start up programs are complete

CPU Usage - when less than 15% for at least 5 seconds, system may be idle

Disk Usage - This is reason I am posting to the forum, I can not figure out a way to cleanly monitor disk usage. I essentially want a way for autoit to determine if there has been any disk activity on drive c:\.

Any suggestions would be appreciated.

I believe monitoring the CPU usage would be your best bet


carpe diem

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.