diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-06-02 15:03:03 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-06-02 15:03:03 -0400 |
commit | ed66c6013e7f6274061ce99a774018c51b3eb2f4 (patch) | |
tree | 8113fa3326db943b0af1af1c20e9445130649d4c /buildscripts/cleanbb.py | |
parent | 881dd584efc54072bc3897e6d78c8d618f4e3deb (diff) | |
download | mongo-ed66c6013e7f6274061ce99a774018c51b3eb2f4.tar.gz |
debugging
Diffstat (limited to 'buildscripts/cleanbb.py')
-rw-r--r-- | buildscripts/cleanbb.py | 11 |
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 |