一行的日志统计计算脚本

January 20th, 2010 by gnawux Leave a reply »

From 我有分寸, post 一行的日志统计计算脚本

未经特殊声明,本站作品均为原创,可能同时会发于移动labs本人 space,原则上不反对转载,但建议保留本文链接。

accu=0;sed -ne ‘s/.*bytesIn=\”\([0-9]*\)\”\/>/\1/p’ stage_3.xml |while read num;do cur=$(($num-$accu));accu=$num; echo $(($cur/20/1024/1024));done

记在这里了,先不解释了。

Post Footer automatically generated by wp-posturl plugin for wordpress.

Advertisement

Leave a Reply

Switch to our mobile site