awk查看接口耗时情况

时间:2023-03-10 05:53:42
awk查看接口耗时情况

awk查看接口耗时情况
+1:LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %D \"%{X-Forwarded-For}i\"" combined
生产线:LogFormat "%h<>%l<>%u<>%t<>\"%r\"<>%>s<>%b<>\"%{Referer}i\"<>%D<>%{X-Forwarded-For}i "  combined
192.168.12.55\56
tailf /home/d139/logs/mcloud_openapi_access.log.2018042809 |awk -F '<>' '$9 > 200000{print}'     //查看接口耗时情况。 主要影响redis连接数问题
tailf /home/d139/logs/mcloud_openapi_ssl_access.log.2018042809 |awk -F '<>' '$9 > 200000{print}'