[LON-CAPA-cvs] cvs: loncom / loncron
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 09 Jun 2004 13:30:41 -0000
albertel Wed Jun 9 09:30:41 2004 EDT
Modified files:
/loncom loncron
Log:
- no hyphen should be passed to ps
Index: loncom/loncron
diff -u loncom/loncron:1.52 loncom/loncron:1.53
--- loncom/loncron:1.52 Fri Jun 4 15:29:31 2004
+++ loncom/loncron Wed Jun 9 09:30:41 2004
@@ -2,7 +2,7 @@
# Housekeeping program, started by cron, loncontrol and loncron.pl
#
-# $Id: loncron,v 1.52 2004/06/04 19:29:31 albertel Exp $
+# $Id: loncron,v 1.53 2004/06/09 13:30:41 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -260,7 +260,7 @@
&log($fh,"<pre>");
my $psproc=0;
- open (PSH,"ps -aux --cols 140 |");
+ open (PSH,"ps aux --cols 140 |");
while (my $line=<PSH>) {
&log($fh,&encode_entities($line,'<>&"'));
$psproc++;