2014-06-29 15:15:38 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Lists versions : php mysql posfix dovecot roundcubke squirrelmail courier mailman alternc-* acl quota sasl
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
class Alternc_Diagnostic_Service_System
|
|
|
|
extends Alternc_Diagnostic_Service_Abstract
|
|
|
|
implements Alternc_Diagnostic_Service_Interface
|
|
|
|
{
|
|
|
|
|
|
|
|
public $name = "system";
|
|
|
|
function run(){
|
2014-06-29 22:38:24 +00:00
|
|
|
$this->writeSectionData("ip list", $this->execCmd("ip a"));
|
2014-06-29 15:15:38 +00:00
|
|
|
return $this->data;
|
|
|
|
}
|
|
|
|
}
|