Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.eso.org/~qc/dfos/finishNight.html
Дата изменения: Mon Nov 24 11:34:01 2014 Дата индексирования: Sun Apr 10 00:43:51 2016 Кодировка: |
Common DFOS tools:
|
dfos = Data Flow Operations System, the common tool set for DFO |
![]() |
new: | see also: | ||||||||
v1.3.5: - checks for sci_Harvested (XXLight) |
The tool checks for open ingestion requests and sends a warning if found. | |||||||||
v1.3.6: - always deletes $DFO_RAW_DIR/$DATE v1.4: - supports both DFOS and PHOENIX installations |
|
This tool provides the last step for the daily workflow: cleaning up all listings, job files etc. related to that DATE which are not supposed to be stored. It also extracts statistics using extractStat.
It checks and delete all files carrying the $DATE string in their name in the following directories:
It also removes left-over ABs, AB logs, and trending logs in $DFO_AB_DIR; deletes multiple fitsreport and dataclient log files; and cuts the DFO_STATUS file to the latest 5000 entries. For DRS_TYPE=CON, it checks and removes all cascade logs under $CONDOR_DAG_DIR. Finally, it deletes $DFO_RAW_DIR/$DATE and all raw data therein, and updates the data report (calling createReport) and the histoMonitor. Obsolete status files are deleted on the QC web server (qc@qcweb: /home/qc/public_html/<instr>/monitor/status_<date>*.html).
There is the option -c, which bypasses the statistics update but does the cleanup part. This is useful if you have done some tests on a night which has already finished its regular workflow, and don't want to take care manually for cleaning up all the intermediate files. In that case, calling finishNight in the usual way would corrupt the statistics for raw data, which is avoided with the option -c.
Type finishNight -h for on-line help, finishNight -v for the version number. Type
finishNight -d <date>
to clean up information related to <date> and update statistics, and
finishNight -d <date> -c
to avoid updating the statistics.
None.