/** * define the regexp for log parser */ public function __construct() { parent::__construct(); $this->error->addWarning("The Darwin version of phpSysInfo is work in progress, some things currently don't work!"); $this->setCPURegExp1("CPU: (.*) \\((.*)-MHz (.*)\\)"); $this->setCPURegExp2("/(.*) ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+)/"); $this->setSCSIRegExp1("^(.*): <(.*)> .*SCSI.*device"); }
/** * define the regexp for log parser */ public function __construct() { parent::__construct(); $this->setCPURegExp1("^cpu(.*)\\, (.*) MHz"); $this->setCPURegExp2("^(.*) at scsibus.*: <(.*)> .*"); $this->setSCSIRegExp2("^(da[0-9]): (.*)MB "); $this->setPCIRegExp1("/(.*): <(.*)>(.*) (pci|legacypci)[0-9]\$/"); $this->setPCIRegExp2("/(.*): <(.*)>.* at [0-9\\.]+\$/"); }
/** * define the regexp for log parser */ public function __construct() { parent::__construct(); $this->setCPURegExp1("^cpu(.*)\\, (.*) MHz"); $this->setCPURegExp2("/user = (.*), nice = (.*), sys = (.*), intr = (.*), idle = (.*)/"); $this->setSCSIRegExp1("^(.*) at scsibus.*: <(.*)> .*"); $this->setSCSIRegExp2("^(da[0-9]): (.*)MB "); $this->setPCIRegExp1("/(.*) at pci[0-9] dev [0-9]* function [0-9]*: (.*)\$/"); $this->setPCIRegExp2("/\"(.*)\" (.*).* at [.0-9]+ irq/"); }
/** * define the regexp for log parser */ public function __construct() { parent::__construct(); $this->setCPURegExp1("CPU: (.*) \\((.*)-MHz (.*)\\)"); $this->setCPURegExp2("/(.*) ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+)/"); $this->setSCSIRegExp1("^(.*): <(.*)> .*SCSI.*device"); $this->setSCSIRegExp2("^(da[0-9]): (.*)MB "); $this->setPCIRegExp1("/(.*): <(.*)>(.*) pci[0-9]\$/"); $this->setPCIRegExp2("/(.*): <(.*)>.* at [.0-9]+ irq/"); }
/** * define the regexp for log parser */ public function __construct() { parent::__construct(); // $this->setCPURegExp1("/^cpu(.*) (.*) MHz/"); $this->setCPURegExp2("/(.*),(.*),(.*),(.*),(.*)/"); $this->setSCSIRegExp1("/^(.*) at scsibus.*: <(.*)> .*/"); $this->setSCSIRegExp2("/^(da[0-9]+): (.*)MB /"); $this->setPCIRegExp1("/(.*) at pci[0-9]+ .* \"(.*)\"/"); $this->setPCIRegExp2("/\"(.*)\" (.*).* at [.0-9]+ irq/"); }