#!/bin/bash 
awk -F"\001" '{t[$1 " " $2] += $5}END{ for(i in t){ print i" "(t[i]*8/60/1000/1000)} }' /xyapp/system/plugin-mdata/minion/$(date '+%Y%m%d%H').log | sort | tail -n 40
