Skip to content

suxianbaozi/log_speed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

log_speed

用来统计日志的输出速度

准备工作

sudo chmod +x log_speed.py

sudo cp log_speed.py /usr/local/bin/log_speed

常见用法

统计nginx日志的速度

tail -f /var/log/nginx/access.log | log_speed

统计nginx日志含有爬虫的输出速度

tail -f /var/log/nginx/access.log |grep spider |log_speed

About

用来统计日志的输出速度

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages