Thrasonic...The sample script I posted above does exactly what you asked for. Just change the first line to the connection you want to check for, and the second line to the log file in which you want the computer/userid to be logged to when found.