src/hg/utils/refreshNamedSessionCustomTracks/refreshSessionCtFilesInner.csh 1.2

1.2 2009/09/25 17:48:07 angie
Adding uptime command after error/warning messages so we can see whether load is high.
Index: src/hg/utils/refreshNamedSessionCustomTracks/refreshSessionCtFilesInner.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/utils/refreshNamedSessionCustomTracks/refreshSessionCtFilesInner.csh,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -B -U 4 -r1.1 -r1.2
--- src/hg/utils/refreshNamedSessionCustomTracks/refreshSessionCtFilesInner.csh	25 Sep 2009 00:34:31 -0000	1.1
+++ src/hg/utils/refreshNamedSessionCustomTracks/refreshSessionCtFilesInner.csh	25 Sep 2009 17:48:07 -0000	1.2
@@ -19,21 +19,24 @@
 
 if (-e $tmpLog || -e $tmpOut) then
   echo "ERROR: $tmpLog and/or $tmpOut already exists!  Is another instance running?"
   echo "       Or does the file simply need to be cleaned up since yesterday?  Aborting."
+  uptime
   exit 1
 endif
 
 set strayLogs = `find $logDir -maxdepth 1 -name tmp\*.log`
 if ($strayLogs != "") then
   echo "WARNING: stray log files (is a previous instance still running?)"
   echo $strayLogs
+  uptime
 endif
 
 set strayOut = `find $tmpOut:h -maxdepth 1 -name ctDoNoRmNext\*`
 if ($strayOut != "") then
   echo "WARNING: stray temporary output files (is a previous instance still running?)"
   echo $strayOut
+  uptime
 endif
 
 ps -eafl > $logDir/before.log
 /cluster/bin/x86_64/refreshNamedSessionCustomTracks hgcentral -verbose=4 \