/** * 得到当前站点的监控状态 */ public function monitor() { $monitor_id = statistics::get_task_id(); $this->template = new View('template_blank'); $this->template->content = new View("site/statistics_monitor"); $this->template->content->data_str = statistics::get_list($monitor_id); //0.08s $this->template->content->monitor_report = statistics::report_date($monitor_id); //2s - 10s }