Gigli Posted February 9, 2009 Posted February 9, 2009 Hello Is it possible to launch something (a msgbox for example) when a process occuped for example more than 50 % of the CPU ? How ? Thanks you
weaponx Posted February 9, 2009 Posted February 9, 2009 You could us the ProcessListProperties function like this:While 1 $array = _ProcessListProperties() For $X = 1 to $array[0][0] If $array[$X][6] > 50 Then ;Do stuff EndIf Next Sleep(2000);Poll every 2 seconds WEnd
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now