Update of /cvsroot/monetdb/MonetDB/src/testing
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv20660
Modified Files:
Tag: MonetDB_1-20
MkillUsers.in
Log Message:
let's not cut the branch we're sitting on:
MkillUsers should neither kill itself nor its offspring.
Index: MkillUsers.in
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/testing/MkillUsers.in,v
retrieving revision 1.29
retrieving revision 1.29.2.1
diff -u -d -r1.29 -r1.29.2.1
--- MkillUsers.in 8 Sep 2007 20:19:13 -0000 1.29
+++ MkillUsers.in 4 Oct 2007 18:42:55 -0000 1.29.2.1
@@ -50,10 +50,10 @@
cpids=""
if [ "$PARENT" ] ; then
- cpids="`ps -ef | egrep '^ *[a-zA-Z0-9_]+ +[0-9]+ +'"$PARENT"' ' | egrep -v
'^ *[a-zA-Z0-9_]+ +'"$CHILD"' +[0-9]+ ' | sort -k 4.1 | awk '{printf "%s " ,
$2}' | perl -pe 's| *$||'`"
+ cpids="`ps -ef | egrep '^ *[a-zA-Z0-9_]+ +[0-9]+ +'"$PARENT"' ' | egrep -v
'^ *[a-zA-Z0-9_]+ +'"$CHILD"' +[0-9]+ | '"$0"' ' | sort -k 4.1 | awk '{printf
"%s " , $2}' | perl -pe 's| *$||'`"
if [ "$cpids" ] ; then
# KIDS="`echo "($cpids)" | perl -pe 's/ /|/g'`"
-# gpids="`ps -ef | egrep '^ *[a-zA-Z0-9_]+ +[0-9]+ +'"$KIDS"' ' | egrep
-v '^ *[a-zA-Z0-9_]+ +'"$CHILD"' +[0-9]+ ' | sort -k 4.1 | awk '{printf "%s "
, $2}' | perl -pe 's| *$||'`"
+# gpids="`ps -ef | egrep '^ *[a-zA-Z0-9_]+ +[0-9]+ +'"$KIDS"' ' | egrep
-v '^ *[a-zA-Z0-9_]+ +'"$CHILD"' +[0-9]+ | '"$0"' ' | sort -k 4.1 | awk
'{printf "%s " , $2}' | perl -pe 's| *$||'`"
# if [ "$gpids" ] ; then
# cpids="$cpids $gpids"
# fi
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins