Show More
@@ -97,7 +97,8 b' def magic_tasks(self,line):' | |||
|
97 | 97 | if not ents: |
|
98 | 98 | print "No tasks running" |
|
99 | 99 | for pid,cmd,cwd,t in ents: |
|
100 | print "%d: '%s' (%s)" % (pid,cmd,cwd) | |
|
100 | dur = int(time.time()-t) | |
|
101 | print "%d: '%s' (%s) %d:%02d" % (pid,cmd,cwd, dur / 60,dur%60) | |
|
101 | 102 | |
|
102 | 103 | def magic_kill(self,line): |
|
103 | 104 | """ Kill a task |
General Comments 0
You need to be logged in to leave comments.
Login now