Property | Type | Description | |
---|---|---|---|
$_cpu_loads | Assoc array of all CPUs loads. |
Method | Description | |
---|---|---|
__construct ( ) | call parent constructor | |
build ( ) : Void | get the information |
Method | Description | |
---|---|---|
_cpuinfo ( ) : void | CPU information All of the tags here are highly architecture dependant. | |
_distro ( ) : void | Distribution | |
_hostname ( ) : void | Hostname | |
_i2c ( ) : void | I2C devices | |
_loadavg ( ) : void | Processor Load optionally create a loadbar | |
_memory ( ) : void | Physical memory information and Swap Space information | |
_network ( ) : void | Network devices includes also rx/tx bytes | |
_parseProcStat ( String $cpuline ) : integer | fill the load for a individual cpu, through parsing /proc/stat for the specified cpu | |
_processes ( ) : void | Processes | |
_uptime ( ) : void | UpTime time the system is running |
Method | Description | |
---|---|---|
_filesystems ( ) : void | filesystem information | |
_ide ( ) : void | IDE devices | |
_kernel ( ) : void | Kernel Version | |
_machine ( ) : void | Machine | |
_pci ( ) : void | PCI devices | |
_scsi ( ) : void | SCSI devices | |
_usb ( ) : array | USB devices | |
setRaspberry ( $revihex, $cpupart ) : CPU | Set Raspberry device name |
protected _parseProcStat ( String $cpuline ) : integer | ||
$cpuline | String | cpu for which load should be meassured |
return | integer |