git://git.onelab.eu
/
nodemanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5d884de
)
do not call lsof, this is useless and produces huge logs
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Fri, 23 May 2014 14:59:06 +0000
(16:59 +0200)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Fri, 23 May 2014 14:59:06 +0000
(16:59 +0200)
sliver_lxc.py
patch
|
blob
|
history
diff --git
a/sliver_lxc.py
b/sliver_lxc.py
index
94de3db
..
5f96dd8
100644
(file)
--- a/
sliver_lxc.py
+++ b/
sliver_lxc.py
@@
-346,10
+346,12
@@
unset pathmunge
if not os.path.exists(containerDir):
logger.log('sliver_lxc.destroy: %s cleanly destroyed.'%name)
else:
if not os.path.exists(containerDir):
logger.log('sliver_lxc.destroy: %s cleanly destroyed.'%name)
else:
- logger.log("-TMP-cwd %s : %s"%(name,os.getcwd()))
- logger.log("-TMP-lsof %s"%name)
- command=['lsof']
- logger.log_call(command)
+ # we're in /
+ #logger.log("-TMP-cwd %s : %s"%(name,os.getcwd()))
+ # also lsof never shows anything relevant; this is painful..
+ #logger.log("-TMP-lsof %s"%name)
+ #command=['lsof']
+ #logger.log_call(command)
logger.log("-TMP-ls-l %s"%name)
command = ['ls', '-l', containerDir]
logger.log_call(command)
logger.log("-TMP-ls-l %s"%name)
command = ['ls', '-l', containerDir]
logger.log_call(command)