1

I am trying to capture Windows system busy, or Active window busy, from the perspective of the end user (typically when the Windows OS or the active Window puts up a Busy Cursor: or to capture when the system is busy). I am trying to do this without having to continually use GetCursor. Is there any way to set up a windows interrupt, such that when the Operating System or the the active Window is busy that and interrupt can be generated? thanks for your help

1 Answers1

0

You could perform monitoring of the ProcessorQueueLength using the Win32_PerfFormattedData_PerfOS_System WMI object. There are various other performance counter, use the perfmon tool to investigate which of these are most useful to you.

Martin v. Löwis
  • 124,830
  • 17
  • 198
  • 235