summaryrefslogtreecommitdiff
path: root/buildscripts/cleanbb.py
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-06-02 15:03:03 -0400
committerEliot Horowitz <eliot@10gen.com>2010-06-02 15:03:03 -0400
commited66c6013e7f6274061ce99a774018c51b3eb2f4 (patch)
tree8113fa3326db943b0af1af1c20e9445130649d4c /buildscripts/cleanbb.py
parent881dd584efc54072bc3897e6d78c8d618f4e3deb (diff)
downloadmongo-ed66c6013e7f6274061ce99a774018c51b3eb2f4.tar.gz
debugging
Diffstat (limited to 'buildscripts/cleanbb.py')
-rw-r--r--buildscripts/cleanbb.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/buildscripts/cleanbb.py b/buildscripts/cleanbb.py
index e7df61028e4..dac08d4634e 100644
--- a/buildscripts/cleanbb.py
+++ b/buildscripts/cleanbb.py
@@ -23,7 +23,16 @@ def killprocs( signal="" ):
killed = 0
- for x in utils.getprocesslist():
+ l = utils.getprocesslist()
+ print( "num procs:" + str( len( l ) ) )
+ if len(l) == 0:
+ print( "no procs" )
+ try:
+ print( execsys( "/sbin/ifconfig -a" ) )
+ except Exception,e:
+ print( "can't get interfaces" + str( e ) )
+
+ for x in l:
x = x.lstrip()
if not shouldKill( x ):
continue