projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
719c77a
)
Notify.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 14 Feb 2012 06:15:58 +0000
(14:15 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 14 Feb 2012 06:15:58 +0000
(14:15 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
c70aaf3
..
ec437e7
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-234,7
+234,11
@@
class Pman_Core_Notify extends Pman
if ($info['running']) {
- //if (file_exists('/proc/'.$p['pid'])) {
+ //if (file_exists('/proc/'.$p['pid'])) {
+ $runtime = time() - $p['started'];
+ echo "RUNTIME ({$p['pid']}): $runtime\n";
+
+
$pool[] = $p;
continue;
}