phpsysinfo/includes/os/class.DragonFly.inc.php 1 location
|
@@ 32-40 (lines=9) @@
|
| 29 |
|
/** |
| 30 |
|
* define the regexp for log parser |
| 31 |
|
*/ |
| 32 |
|
public function __construct() |
| 33 |
|
{ |
| 34 |
|
parent::__construct(); |
| 35 |
|
$this->setCPURegExp1("/^cpu(.*)\, (.*) MHz/"); |
| 36 |
|
$this->setCPURegExp2("/^(.*) at scsibus.*: <(.*)> .*/"); |
| 37 |
|
$this->setSCSIRegExp2("/^(da[0-9]+): (.*)MB /"); |
| 38 |
|
$this->setPCIRegExp1("/(.*): <(.*)>(.*) (pci|legacypci)[0-9]+$/"); |
| 39 |
|
$this->setPCIRegExp2("/(.*): <(.*)>.* at [0-9\.]+$/"); |
| 40 |
|
} |
| 41 |
|
|
| 42 |
|
/** |
| 43 |
|
* UpTime |
phpsysinfo/includes/os/class.FreeBSD.inc.php 1 location
|
@@ 32-41 (lines=10) @@
|
| 29 |
|
/** |
| 30 |
|
* define the regexp for log parser |
| 31 |
|
*/ |
| 32 |
|
public function __construct() |
| 33 |
|
{ |
| 34 |
|
parent::__construct(); |
| 35 |
|
$this->setCPURegExp1("/CPU: (.*) \((.*)-MHz (.*)\)/"); |
| 36 |
|
$this->setCPURegExp2("/(.*) ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+)/"); |
| 37 |
|
$this->setSCSIRegExp1("/^(.*): <(.*)> .*SCSI.*device/"); |
| 38 |
|
$this->setSCSIRegExp2("/^(da[0-9]+): (.*)MB /"); |
| 39 |
|
$this->setPCIRegExp1("/(.*): <(.*)>(.*) pci[0-9]+$/"); |
| 40 |
|
$this->setPCIRegExp2("/(.*): <(.*)>.* at [.0-9]+ irq/"); |
| 41 |
|
} |
| 42 |
|
|
| 43 |
|
/** |
| 44 |
|
* UpTime |
phpsysinfo/includes/os/class.NetBSD.inc.php 1 location
|
@@ 32-41 (lines=10) @@
|
| 29 |
|
/** |
| 30 |
|
* define the regexp for log parser |
| 31 |
|
*/ |
| 32 |
|
public function __construct() |
| 33 |
|
{ |
| 34 |
|
parent::__construct(); |
| 35 |
|
$this->setCPURegExp1("/^cpu(.*)\, (.*) MHz/"); |
| 36 |
|
$this->setCPURegExp2("/user = (.*), nice = (.*), sys = (.*), intr = (.*), idle = (.*)/"); |
| 37 |
|
$this->setSCSIRegExp1("/^(.*) at scsibus.*: <(.*)> .*/"); |
| 38 |
|
$this->setSCSIRegExp2("/^(da[0-9]+): (.*)MB /"); |
| 39 |
|
$this->setPCIRegExp1("/(.*) at pci[0-9]+ dev [0-9]* function [0-9]*: (.*)$/"); |
| 40 |
|
$this->setPCIRegExp2("/\"(.*)\" (.*).* at [.0-9]+ irq/"); |
| 41 |
|
} |
| 42 |
|
|
| 43 |
|
/** |
| 44 |
|
* UpTime |
phpsysinfo/includes/os/class.OpenBSD.inc.php 1 location
|
@@ 32-41 (lines=10) @@
|
| 29 |
|
/** |
| 30 |
|
* define the regexp for log parser |
| 31 |
|
*/ |
| 32 |
|
public function __construct() |
| 33 |
|
{ |
| 34 |
|
parent::__construct(); |
| 35 |
|
// $this->setCPURegExp1("/^cpu(.*) (.*) MHz/"); |
| 36 |
|
$this->setCPURegExp2("/(.*),(.*),(.*),(.*),(.*)/"); |
| 37 |
|
$this->setSCSIRegExp1("/^(.*) at scsibus.*: <(.*)> .*/"); |
| 38 |
|
$this->setSCSIRegExp2("/^(da[0-9]+): (.*)MB /"); |
| 39 |
|
$this->setPCIRegExp1("/(.*) at pci[0-9]+ .* \"(.*)\"/"); |
| 40 |
|
$this->setPCIRegExp2("/\"(.*)\" (.*).* at [.0-9]+ irq/"); |
| 41 |
|
} |
| 42 |
|
|
| 43 |
|
/** |
| 44 |
|
* UpTime |