]> jspc29.x-matter.uni-frankfurt.de Git - hadesicinga.git/commitdiff
debugging. Sergey.
authorhadaq <hadaq>
Thu, 29 Jan 2009 12:56:53 +0000 (12:56 +0000)
committerhadaq <hadaq>
Thu, 29 Jan 2009 12:56:53 +0000 (12:56 +0000)
plugins/check_lustre.pl

index ddf477a168471a50b5222147a19ddd4b90e07a58..646d465f5b5572f690a2369c97f85011419e6e19 100755 (executable)
@@ -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";
     }
 }