Re: Determining system resources

From: Date: Thu, 04 Nov 2004 16:48:26 +0000
Subject: Re: Determining system resources
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-201189@lists.php.net to get a copy of this message
On Thu, 04 Nov 2004 08:25:19 -0800, Robin Getz <rgetz@blackfin.uclinux.org> wrote: > I have been unable to find a php function to determine available system > memory (physical and swap)? > php -r "system('free -m');" total used free shared buffers cached Mem: 249 246 2 0 4 86 -/+ buffers/cache: 154 94 Swap: 486 12 473 The system has to support whatever memory command you use. *nix: free windoze: mem -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/

« previous php.general (#201189) next »