Cross Reference: check_forensic
xref
: /
httpd
/
support
/
check_forensic
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
check_forensic revision 46ef178b8f55b794c65491b370974833ce9e621b
729
N/A
#!/
bin
/
sh
729
N/A
1339
N/A
# check_forensic <forensic log file>
729
N/A
1339
N/A
# check the forensic log for requests that did not complete
729
N/A
# output the request log for each one
729
N/A
919
N/A
F=$
1
919
N/A
919
N/A
cut
-f
1
-d
'|'
$F > /
tmp
/
fc-all
.$$
919
N/A
grep
+ < /
tmp
/
fc-all
.$$ |
cut
-
c2
- |
sort
> /
tmp
/
fc-in
.$$
919
N/A
grep
-- - < /
tmp
/
fc-all
.$$ |
cut
-
c2
- |
sort
> /
tmp
/
fc-out
.$$
919
N/A
join
-v
1
/
tmp
/
fc-in
.$$ /
tmp
/
fc-out
.$$ |
xargs
-I
xx
egrep
"^\\+xx"
$F
919
N/A
rm
/
tmp
/
fc-all
.$$ /
tmp
/
fc-in
.$$ /
tmp
/
fc-out
.$$
919
N/A