Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- success=`ssh tug@10.1.20.129 "sed -n '/2015-05-19 02:13:58/,/2016-05-08 19:13/p' /var/log/tug/pipeline/pipeline_manager_info.log | grep success | wc -l"`
- fail=`ssh tug@10.1.20.129 "sed -n '/2015-05-19 02:13:58/,/2016-05-08 19:13/p' /var/log/tug/pipeline/pipeline_manager_info.log | grep permanent | wc -l"`
- total=`expr $fail + $success`
- eucfull=`ssh tug@10.1.20.129 "df -h /dev/mapper/vg_md3260a-lv_md3260a | grep 437T | awk '{print $4}'"`
- . sample-count.sh
- echo -e `date` "\n" | tee -a sample-count.log
- echo -e "Total number of successfully processed samples is $success"| tee -a sample-count.log
- echo -e "Total number of permanently failed samples is $fail"| tee -a sample-count.log
- echo -e "Total number of samples processed is $total"| tee -a sample-count.log
- echo -e "Eucalyptus storage server is $eucfull full""\n"| tee -a sample-count.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement