Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.stsci.edu/spst/UnixTransition/doc/check_snally_jobs.html
Дата изменения: Fri Apr 8 12:46:14 2016
Дата индексирования: Mon Apr 11 04:44:37 2016
Кодировка:
Python: module check_snally_jobs
 
 
check_snally_jobs (version 3/15/05)
index
check_snally_jobs.py

PURPOSE --
Check the detailed status of the snallygaster batch jobs.
 
DEVELOPER --
Alan Patterson
derived from check_batch.py
 
MODIFICATION HISTORY --
Initial implementation              app 04/24/03
Mods from python review             app 05/06/03
Mod to catch missing job            app 05/15/03
Write temporary file to /tmp
directory.                          dc  9/16/04
Mods for Mac OS X                   mdr 3/15/05

 
Modules
       
batch_util
file_util
os
pickle
spss_sys_util
spst_getopt
string
sys
time_util
transfer_util

 
Functions
       
run(*args)
Check the status of the snallygaster batch jobs and filespace
 
Usage:
do check_snally_jobs <-all>|<-unix>|<-snally> <-output=filename>
 
where <-unix> causes checking of the snallygaster related Unix
                      batch jobs
      <-snally> causes checking of the Sogsfiles python job on
                      snallygaster
      <-all> causes checking of the Unix batch jobs and the snallygaster
                      Sogsfiles job
      <-output=filename> directs output to a file rather than the
                      screen
 
      The output may display:
          1.  The status of the five Unix snallygaster related batch jobs
          indicating whether their status and submission time is
          reasonable
          2.  The elasped time since the last execution of the Sogsfiles
          python job on Snallygaster (This should be less than 2 mins)
          3.  The number of files in several snallygaster transfer
          directories.  The directories are all those which are input
          directories for the five Snallygaster batch jobs

 
Data
        SNALLY_LIST = ['chk_snally', 'fr_snallya', 'fr_snallyb', 'to_snallya', 'to_snallyb']
__version__ = '3/15/05'