SysInfo
class SysInfo (View source)
Library for extracting information about system memory and cpu.
Currently supports all Windows and Linux platforms
This code is based on the OS Classes from the phpsysinfo project (https://phpsysinfo.github.io/phpsysinfo/)
Constants
MEMORY_REGEXP |
|
Methods
static string
getOs(string $phpOs = PHP_OS)
Returns OS type used for sysinfo class
Details
static string
getOs(string $phpOs = PHP_OS)
Returns OS type used for sysinfo class
static Base
get()
Gets SysInfo class matching current OS