📄 check_forensic
字号:
#!/bin/sh# check_forensic <forensic log file># check the forensic log for requests that did not complete# output the request log for each oneF=$1cut -f 1 -d '|' $F > /tmp/fc-all.$$grep + < /tmp/fc-all.$$ | cut -c2- | sort > /tmp/fc-in.$$grep -- - < /tmp/fc-all.$$ | cut -c2- | sort > /tmp/fc-out.$$# use -i instead of -I for GNU xargsjoin -v 1 /tmp/fc-in.$$ /tmp/fc-out.$$ | xargs -I xx egrep "^\\+xx" $Frm /tmp/fc-all.$$ /tmp/fc-in.$$ /tmp/fc-out.$$
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -