Hey,
So I wrote a script to monitor and alert me if a site goes down, it has plenty of sleep() time in it, which I read doesn't count towards CPU usage in another forum post but having run it for the past half hour, doing maybe 10-15 checks against sites I'm wanting to monitor, it has already used 60% of my daily CPU usage.
I wrote a simpler version first and ran this for hours (24 hours) and it never got more that a few %. the only real difference with my code is the adding of threading.
Is it a glitch or is threading a no-no?