/** * 获取主进程统计信息 * @return array */ protected function getMasterStatus() { if (!Master::getShmId()) { return array(); } return @shm_get_var(Master::getShmId(), Master::STATUS_VAR_ID); }