day by hour and week by day  awk analysis