Syntaxe
darcs-hash:20050323094035-41617-3ef0bb892e95f16dcc86b19b566473b86d1f7e56.gz
This commit is contained in:
parent
d928641f7a
commit
f9c0e805eb
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ def make_lock(lock_name, lock_comment='',nowait=0, quiet=False) :
|
||||||
elif nowait :
|
elif nowait :
|
||||||
if not quiet:
|
if not quiet:
|
||||||
sys.stderr.write('Lock : %s\n' % lock_file)
|
sys.stderr.write('Lock : %s\n' % lock_file)
|
||||||
l=getoutput("ps -ax -o pid,etime | awk '($1 == %s)'" % pid)
|
l=getoutput("ps ax -o pid,etime | awk '($1 == %s)'" % pid)
|
||||||
data = [ user , pid , l.strip() ]
|
data = [ user , pid , l.strip() ]
|
||||||
|
|
||||||
# Formatate de etime
|
# Formatate de etime
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue