shell script to analyse push active log