PHP Class Darwin, phpsysinfo

Author: Michael Cramer ([email protected])
Inheritance: extends BSDCommon
Show file Open project: phpsysinfo/phpsysinfo Class Usage Examples

Public Methods

Method Description
build ( ) : Void get the information

Protected Methods

Method Description
_processes ( ) : void Processes
_tb ( ) : void get the thunderbolt device information out of ioreg
cpuinfo ( ) : void get CPU information
distro ( ) : void get icon name
grabkey ( string $key ) : string get a value from sysctl command
ide ( ) : void get the ide device information out of ioreg
memory ( ) : void get memory and swap information
pci ( ) : void get the pci device information out of ioreg
scsi ( ) : void get the scsi device information out of ioreg
usb ( ) : void get the usb device information out of ioreg

Private Methods

Method Description
_grabioreg ( string $key ) : string get a value from ioreg command
_network ( ) : void get network information
_uptime ( ) : void UpTime time the system is running

Method Details

_processes() protected method

Processes
protected _processes ( ) : void
return void

_tb() protected method

get the thunderbolt device information out of ioreg
protected _tb ( ) : void
return void

build() public method

get the information
See also: PSI_Interface_OS::build()
public build ( ) : Void
return Void

cpuinfo() protected method

get CPU information
protected cpuinfo ( ) : void
return void

distro() protected method

get icon name
protected distro ( ) : void
return void

grabkey() protected method

get a value from sysctl command
protected grabkey ( string $key ) : string
$key string key of the value to get
return string

ide() protected method

get the ide device information out of ioreg
protected ide ( ) : void
return void

memory() protected method

get memory and swap information
protected memory ( ) : void
return void

pci() protected method

get the pci device information out of ioreg
protected pci ( ) : void
return void

scsi() protected method

get the scsi device information out of ioreg
protected scsi ( ) : void
return void

usb() protected method

get the usb device information out of ioreg
protected usb ( ) : void
return void