inline time
This commit is contained in:
parent
247ba502b1
commit
2e45cc9a21
|
@ -194,7 +194,6 @@ BSIZE=$(du -b "${ZFILE}" | awk '{print $1}' | tail -n 1)
|
|||
pidportinuse=$(ps axf --sort=+utime | grep -w "nc -l -p 33102" | grep -v -E 'color=auto|grep' | awk '{gsub(/^ +| +$/,"")} {print $0}' | tail -n 1 | cut -d " " -f 1)
|
||||
[[ $pidportinuse ]] && kill -9 $pidportinuse && echo "KILLING NOT COLLECTED THREAD $pidportinuse"
|
||||
|
||||
(
|
||||
# SEND BACK TO HTTP 33102
|
||||
echo 'HTTP/1.1 200 OK
|
||||
Access-Control-Allow-Origin: *
|
||||
|
@ -213,7 +212,6 @@ cat ${MY_PATH}/tmp/http.${MOATS} | nc -l -p 33102 -q 1 > /dev/null 2>&1
|
|||
echo "DELIVERED ${MOATS} : http://g1billet.localhost:33102"
|
||||
rm -f "${ZFILE}"
|
||||
rm -f "${MY_PATH}/tmp/http.${MOATS}"
|
||||
) &
|
||||
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue