This is one of the ManualRegressionTests:

Confirm that the KeyboardIdle is correctly set. In particular, is the condor_kbdd working? Key cases to check:

To test on Linux:

while true; do sleep 10; condor_status -l -direct `hostname` | grep KeyboardIdle; done

To test on Windows

On Windows, the KBDD needs to be in the registry so that it will start when a user logs on and will run as that user. You can either do this by installing HTCondor using the MSI installer and choosing to run jobs when the keyboard is idle; or you can add KBDD to the DAEMON_LIST, start HTCondor, and then log off and back on again. The KBDD should startup when you log on.

To test the kbdd, run this as a .BAT file

@echo off
for /L %%I in (1,1,100000) do (
time /T
condor_status -l | grep "Idle ="
sleep 20
)

sleep is not a native command on Windows. If you don't have it, you can use ping 127.0.0.1 > NUL instead. The KBDD seems to update about once every 3 minutes by default, so testing this takes some patience.