在运维工作当中,会需要用到捞日志的命令 获取某一段时间内延时超过的请一秒的请求
cat nginx.log | grep '2021:12' | awk -F '^' '{if ($NF>1) print $0}'