Exemple #1
0
 function __construct()
 {
     parent::__construct();
     $this->set_cpuregexp1("CPU: (.*) \\((.*)-MHz (.*)\\)");
     $this->set_cpuregexp2("/(.*) ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+)/");
     $this->set_scsiregexp1("^(.*): <(.*)> .*SCSI.*device");
     $this->set_scsiregexp2("^(da[0-9]): (.*)MB ");
     $this->set_pciregexp1("/(.*): <(.*)>(.*) pci[0-9]\$/");
     $this->set_pciregexp2("/(.*): <(.*)>.* at [.0-9]+ irq/");
 }
 public function __construct()
 {
     parent::__construct();
     $this->set_cpuregexp1("^cpu(.*) (.*) MHz");
     $this->set_cpuregexp2("/(.*),(.*),(.*),(.*),(.*)/");
     $this->set_scsiregexp1("^(.*) at scsibus.*: <(.*)> .*");
     $this->set_scsiregexp2("^(da[0-9]): (.*)MB ");
     $this->set_pciregexp1("/(.*) at pci[0-9] .* \"(.*)\"/");
     $this->set_pciregexp2("/\"(.*)\" (.*).* at [.0-9]+ irq/");
 }
 public function __construct()
 {
     parent::__construct();
     $this->set_cpuregexp1("^cpu(.*)\\, (.*) MHz");
     $this->set_cpuregexp2("/user = (.*), nice = (.*), sys = (.*), intr = (.*), idle = (.*)/");
     $this->set_scsiregexp1("^(.*) at scsibus.*: <(.*)> .*");
     $this->set_scsiregexp2("^(da[0-9]): (.*)MB ");
     $this->set_pciregexp1("/(.*) at pci[0-9] dev [0-9]* function [0-9]*: (.*)\$/");
     $this->set_pciregexp2("/\"(.*)\" (.*).* at [.0-9]+ irq/");
 }