diff --git a/src/Process/AbstractProcess.php b/src/Process/AbstractProcess.php index c2f8edc..e3fe4e4 100644 --- a/src/Process/AbstractProcess.php +++ b/src/Process/AbstractProcess.php @@ -91,7 +91,8 @@ function __start(Process $process) $table->set($process->pid,[ 'pid'=>$process->pid, 'name'=>$this->config->getProcessName(), - 'group'=>$this->config->getProcessGroup() + 'group'=>$this->config->getProcessGroup(), + 'startUpTime'=>time() ]); \Swoole\Timer::tick(1*1000,function ()use($table,$process){ $table->set($process->pid,[