The check_arch command gives a rather comprehensive overview of the current state of the archive pipeline. It is a good idea to run it from time to time to make sure everything is all right. A typical output of this command is shown in figure 3.1.
The Current active archive processes list is the output of the Unix command ps -ax | grep archive and stands as an attempt to gather all the processes related to the archive pipeline. When running, the daemons may spawn child processes that are likely to appear in this list
The Current active archive directories stats the working directory of each daemon.
The Current active list files list stats the list files of the daemons when applicable. The frame number in the last line (ie the last file processed), the time of the last update and the number of lines (ie the number of files processed) are listed. It is a good idea from time to time to check that for each archiver, the sum of #lines and #FITS from the previous list is a constant.
The Current active log files stats the logfile of each daemon. The time of the last update and the number of lines are listed. It is a good idea to check that the logfiles have been recently updated.
Then the df of each disk partition on the archive machine is listed. It is a good idea to check that the partitions don't become overfull.
Finally, the number of files in the summit directory and the corresponding disk use are listed.
Every hour the archive_supervisor command is spawned by the archive user crontab daemon of the archive machine. Currently, this command does the following:
The archive_supervisor command may be run interactively but its output is much less verbose than the one of check_arch.