[LON-CAPA-cvs] cvs: loncom / loncron
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 06 Oct 2005 20:35:52 -0000
albertel Thu Oct 6 16:35:52 2005 EDT
Modified files:
/loncom loncron
Log:
- add the dist to the status page
Index: loncom/loncron
diff -u loncom/loncron:1.60 loncom/loncron:1.61
--- loncom/loncron:1.60 Mon Jun 13 15:54:28 2005
+++ loncom/loncron Thu Oct 6 16:35:50 2005
@@ -2,7 +2,7 @@
# Housekeeping program, started by cron, loncontrol and loncron.pl
#
-# $Id: loncron,v 1.60 2005/06/13 19:54:28 albertel Exp $
+# $Id: loncron,v 1.61 2005/10/06 20:35:50 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -277,6 +277,16 @@
if ($psproc>200) { $notices++; }
if ($psproc>250) { $notices++; }
+ &log($fh,"<h3>distprobe</h3>");
+ &log($fh,"<pre>");
+ open(DSH,"$perlvar{'lonDaemons'}/distprobe |");
+ while (my $line=<DSH>) {
+ &log($fh,&encode_entities($line,'<>&"'));
+ $psproc++;
+ }
+ close(DSH);
+ &log($fh,"</pre>");
+
&errout($fh);
}