PHP 클래스 Linux, phpsysinfo

상속: extends Plataforma
파일 보기 프로젝트 열기: phpsysinfo/phpsysinfo 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_cpu_loads Assoc array of all CPUs loads.

공개 메소드들

메소드 설명
__construct ( ) call parent constructor
build ( ) : Void get the information

보호된 메소드들

메소드 설명
_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

비공개 메소드들

메소드 설명
_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

메소드 상세

__construct() 공개 메소드

call parent constructor
public __construct ( )

_cpuinfo() 보호된 메소드

CPU information All of the tags here are highly architecture dependant.
protected _cpuinfo ( ) : void
리턴 void

_distro() 보호된 메소드

Distribution
protected _distro ( ) : void
리턴 void

_hostname() 보호된 메소드

Hostname
protected _hostname ( ) : void
리턴 void

_i2c() 보호된 메소드

I2C devices
protected _i2c ( ) : void
리턴 void

_loadavg() 보호된 메소드

Processor Load optionally create a loadbar
protected _loadavg ( ) : void
리턴 void

_memory() 보호된 메소드

Physical memory information and Swap Space information
protected _memory ( ) : void
리턴 void

_network() 보호된 메소드

Network devices includes also rx/tx bytes
protected _network ( ) : void
리턴 void

_parseProcStat() 보호된 메소드

fill the load for a individual cpu, through parsing /proc/stat for the specified cpu
protected _parseProcStat ( String $cpuline ) : integer
$cpuline String cpu for which load should be meassured
리턴 integer

_processes() 보호된 메소드

Processes
protected _processes ( ) : void
리턴 void

_uptime() 보호된 메소드

UpTime time the system is running
protected _uptime ( ) : void
리턴 void

build() 공개 메소드

get the information
또한 보기: PSI_Interface_OS::build()
public build ( ) : Void
리턴 Void

프로퍼티 상세

$_cpu_loads 보호되어 있는 프로퍼티

Assoc array of all CPUs loads.
protected $_cpu_loads