diff options
author | hongbotian <hongbo.tianhongbo@huawei.com> | 2015-11-30 03:10:21 -0500 |
---|---|---|
committer | hongbotian <hongbo.tianhongbo@huawei.com> | 2015-11-30 03:10:21 -0500 |
commit | c0b7206652b2852bc574694e7ba07ba1c2acdc00 (patch) | |
tree | 5cb95cb0e19e03610525903df46279df2c3b7eb1 /rubbos/app/httpd-2.0.64/support/check_forensic | |
parent | b6d3d6e668b793220f2d3af1bc3e828553dc3fe6 (diff) |
delete app
Change-Id: Id4c572809969ebe89e946e88063eaed262cff3f2
Signed-off-by: hongbotian <hongbo.tianhongbo@huawei.com>
Diffstat (limited to 'rubbos/app/httpd-2.0.64/support/check_forensic')
-rwxr-xr-x | rubbos/app/httpd-2.0.64/support/check_forensic | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/rubbos/app/httpd-2.0.64/support/check_forensic b/rubbos/app/httpd-2.0.64/support/check_forensic deleted file mode 100755 index 3c8123fc..00000000 --- a/rubbos/app/httpd-2.0.64/support/check_forensic +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh - -# check_forensic <forensic log file> - -# check the forensic log for requests that did not complete -# output the request log for each one - -F=$1 - -temp_create_method=file -if test -f `which mktemp`; then - temp_create_method=mktemp -elif test -f `which tempfile`; then - temp_create_method=tempfile -fi - -create_temp() -{ - prefix=$1 - case "$temp_create_method" in - file) - name="/tmp/$1.$$" - ;; - mktemp) - name=`mktemp -t $1.XXXXXX` - ;; - tempfile) - name=`tempfile --prefix=$1` - ;; - *) - echo "$0: Cannot create temporary file" - exit 1 - ;; - esac -} - -create_temp fcall -all=$name -create_temp fcin -in=$name -create_temp fcout -out=$name -trap "rm -f -- \"$all\" \"$in\" \"$out\";" 0 1 2 3 13 15 - -cut -f 1 -d '|' $F > $all -grep + < $all | cut -c2- | sort > $in -grep -- - < $all | cut -c2- | sort > $out - -# use -i instead of -I for GNU xargs -join -v 1 $in $out | xargs -I xx egrep "^\\+xx" $F -exit 0 |