@transaction.commit_on_success
		def check_performance():
			run = Cluster.ClusterRun.objects.filter(enabled=True).order_by("-priority", "entered_date")[0]
	
			print "=======Probe=============", run.perform_run_id
			Q = Cluster.ClusterAction.objects.filter(cluster_run=run)
			current_time = datetime.datetime.now()
		
			for node in Cluster.ClusterNode.objects.filter(active_node = True).iterator():
				delta = datetime.timedelta(hours=24)
				Q1 = Q.filter(completed_time__range=(current_time-delta,current_time))
				node_count_24hour = Q1.filter(cluster_node = node).count() 
			
				delta = datetime.timedelta(hours=1)
				Q1 = Q.filter(completed_time__range=(current_time-delta,current_time))
				node_count_hour = Q1.filter(cluster_node = node).count() 
			
				delta = datetime.timedelta(minutes=10)
				Q1 = Q.filter(completed_time__range=(current_time-delta,current_time))
				node_count_10min = Q1.filter(cluster_node = node).count()*6  #recalc to per hour
			
				delta = datetime.timedelta(minutes=1)
				Q1 = Q.filter(completed_time__range=(current_time-delta,current_time))
				node_count_1min = Q1.filter(cluster_node = node).count()*60  #recalc to per hour
				print "Node  %20s: %7d %7d %7d %7d" %(node.hostname, node_count_1min, node_count_10min, node_count_hour, node_count_24hour)
		
			delta = datetime.timedelta(hours=24)
			Q1 = Q.filter(completed_time__range=(current_time-delta,current_time))
			all_count_24hour = Q1.count() 
		
			delta = datetime.timedelta(hours=1)
			Q1 = Q.filter(completed_time__range=(current_time-delta,current_time))
			all_count_hour = Q1.count() 
		
			delta = datetime.timedelta(minutes=10)
			Q1 = Q.filter(completed_time__range=(delta-current_time,current_time))
			all_count_10min = Q1.count()*6 #recalc to per hour 
		
			delta = datetime.timedelta(minutes=1)
			Q1 = Q.filter(completed_time__range=(current_time-delta,current_time))
			all_count_1min = Q1.count()*60 #recalc to per hour 
			
			print "All:  %20s: %7d %7d %7d %7d" %(" ",all_count_1min, all_count_10min, all_count_hour, all_count_24hour), " (", Probe.ProbeQueue.objects.filter(part_of_run=run.perform_run_id, state=Probe.ProbeQueue.PROBEQ_IDLE).count(), " left/", Probe.ProbeResult.objects.filter(part_of_run=run.perform_run_id).count() ," Found)"
			print "==========================="
dataset/ETHPy150Open operasoftware/tlsprober/cluster_monitor.py/check_performance/swapped operands of `-`