2 How to Monitor Capturing Process

(1) To monitor the capturing process, you can see from a log file:


[capture@localhost ~]$ cd /mnt/SSD_RAID/captured/2014-03-10_capture_XC-Sample1
[capture@localhost 2014-03-10_capture_XC-Sample1]$ ls -l
total 65544
-rw-r--r--. 1 root root     1616 Mar 10 11:32 capture_10_03_2014-11_28_04.log
-rw-r--r--. 1 root root 67109888 Mar 10 11:28 gain_2014_03_10-11_28_05.mrc
[capture@localhost 2014-03-10_capture_XC-Sample1]$ tail -f capture_10_03_2014-11_28_04.log
THREAD id 1 ->vis_n 1 
>>>>>>>>>>>>>>>> SET FILTERS 0 
>>>>>>>>>>>>>>>> SET FILTERS 1 
Unknown event 
Unknown event 
Unknown event 
11_29_06:Idle     :330, 0:330, 73446:: 0 0 0: Range 10000 0 
11_30_06:Idle     :329, 0:329, 73446:: 0 0 0: Range 10000 0 
11_31_06:Idle     :330, 0:330, 73446:: 0 0 0: Range 10000 0 
11_32_06:Idle     :330, 0:329, 73446:: 0 0 0: Range 10000 0 
11_33_06:Idle     :330, 0:330, 73446:: 0 0 0: Range 10000 0 

If an expsoure happens, you will see activities from this log file.

Note: Currently, Capture program will save all the stack larger than 1GB (about 1 second exposure). Smaller than that won't be saved to hard drive. This prevents littering. Therefore, we should set all the parameters in camera setup to less than 1 seconds, except R.

(2) To monitor stack files being generated, we can simply user unix grogram "watch".


[capture@localhost 2014-03-10_capture_XC-Sample1]$ watch -n 20 "ls -lt | head -10"

This will list the latest 10 files generated, every 20 second.