diff --git a/picomon/__main__.py b/picomon/__main__.py index 59b9e0a60b683b51a0d2b7ed27bf7660cf999391..f60be9069efb9f6c66632d6a0c284c70cf5852c7 100644 --- a/picomon/__main__.py +++ b/picomon/__main__.py @@ -45,8 +45,10 @@ def __create_report(only_old=False): def __usr1_handler(signum, frame): (report, err) = __create_report() - print ("Signal SIGUSR1 caught, printing state of checks.") + print ("Signal SIGUSR1 caught, printing state of checks. (%s)" % + datetime.now()) print (report) + sys.stdout.flush() def __alarm_handler(signum, frame):