Win32: Detecting when system is locked or sleeping
skip at pobox.com
skip at pobox.com
Mon May 22 10:51:47 EDT 2006
rod> I have written an application which works perfectly when the
rod> machine is operating under normal conditions, however when the
rod> screen becomes locked it imediately starts to fill up several
rod> hundred MB's of memory.
What do you mean by "locked"? Unresponsive to mouse or keyboard activity?
Blue screen? What is your application doing while it's filling up memory?
Which memory, disk or RAM?
rod> Is there a way to detect when the system is locked?
Perhaps Nagios can help: <http://www.nagios.org/>. In general, I don't
think a system can be relied upon to detect its own demise, as the recent
PC/Mac commercial about restarting illustrates:
<http://www.apple.com/getamac/ads/>.
Skip
More information about the Python-list
mailing list