补充:使用Ruby进行Log分析
补充:
使用str.split方法,分析同一个文件需要的时间:
lax@mib ~ $ time ruby accounting_total_reqs.rb
4820147812
real 0m8.272s
user 0m8.105s
sys 0m0.148s
--
Liu Lantao
EMAIL: liulantao ( at ) gmail ( dot ) com ;
WEBSITE: http://www.liulantao.com/ .
Discuss FLOSS and Linux technology.
0 条评论:
发表评论
懒桃儿祝大家生活愉快!欢迎大家在此处发表评论:
订阅 博文评论 [Atom]
<< 主页