Show More
@@ -97,7 +97,8 b' def magic_tasks(self,line):' | |||||
97 | if not ents: |
|
97 | if not ents: | |
98 | print "No tasks running" |
|
98 | print "No tasks running" | |
99 | for pid,cmd,cwd,t in ents: |
|
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 | def magic_kill(self,line): |
|
103 | def magic_kill(self,line): | |
103 | """ Kill a task |
|
104 | """ Kill a task |
General Comments 0
You need to be logged in to leave comments.
Login now