From 0db26fca47724921ceec7b1895739edea2cf83d7 Mon Sep 17 00:00:00 2001 From: hadaq Date: Thu, 29 Jan 2009 12:56:53 +0000 Subject: [PATCH] debugging. Sergey. --- plugins/check_lustre.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/check_lustre.pl b/plugins/check_lustre.pl index ddf477a..646d465 100755 --- a/plugins/check_lustre.pl +++ b/plugins/check_lustre.pl @@ -71,7 +71,7 @@ sub main { while (1) { - + print "main: start while\n"; if( $opt_s && abs($time_du - $time_ls) > 60*60*24 ){ $lustre_size = &getTotalSize(); $time_du = &getTime(); @@ -95,8 +95,9 @@ sub main { else { $status = "CRITICAL - Lustre mount failure!"; } - + print "main: before sleep\n"; sleep $sleep_time; # 10 minutes + print "main: after sleep\n"; } } -- 2.43.0