Interacting with System Memory
Interacting with System Memory
- public static function getSystemMemoryInformation() — Get information about total and free memory on the system.
- public static function parseMemInfo($data) — Parse the output of `/proc/meminfo`.
- public static function parseVMStat($data) — Parse the output of `vm_stat`.