#!/usr/bin/env bash

read -p "please input the time like 18/Mar/2016:00:00:00 :" y h  
	  
DATE=$(date +%F)
LOG="/data/logs/zuan_$DATE.log"

awk '$4>="[$y" && $4<="[$h"' $LOG  |awk '{print $1}' |sort -r |uniq -c |sort -nr |head -n 10
