tail -f $filename | awk 'BEGIN {nl=0; format="%F %T"}{nl += 1; if (nl % 1000 == 0) print strftime(format) " " nl}'
No comments:
Post a Comment