排查日志

阅读更多
cat irosrms_restapi.log | grep -B 2 --line-buffered "usetime ="  | grep -v 'response header' | awk -F "ms" '{fflush();print $1}'

   tail -f  irosrms_restapi.log | grep --line-buffered "usetime ="  | awk -F "ms" '{fflush();print $1}' | awk '{ if ($12 > 3000) print $0"ms ]"}'

http://10.47.169.74:8201/uniportal/rest/iros/log/loggers
http://10.47.169.74:8201/uniportal/rest/iros/log/change?module=IROSRESTAPILog&levelStr=TRACE
http://10.47.169.74:8201/uniportal/rest/iros/log/change?module=IROSRMSLog&levelStr=TRACE

tail -f  irosrms_restapi.log | grep --line-buffered "usetime ="  | awk -F "ms" '{fflush();print $1}' | awk '{ if ($12 > 3000) print $0"ms ]"}'

cat irosrms_restapi.log | grep -B 2 --line-buffered "usetime ="  | grep -v 'response header' | awk -F "ms" '{fflush();print $1}'

你可能感兴趣的:(排查日志)