Notify.php
authorAlan Knowles <alan@akbkhome.com>
Tue, 14 Feb 2012 06:15:58 +0000 (14:15 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 14 Feb 2012 06:15:58 +0000 (14:15 +0800)
Notify.php

index c70aaf3..ec437e7 100644 (file)
@@ -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;
             }