I have been unable to find a php function to determine available system
memory (physical and swap)?
Right now I am using something like:
=
# ensure there is enough free memory for the download
$free = shell_exec('free -b'); $i=0; while ( $i != strlen($free) ) {
i = strlen($free);
On Thu, 04 Nov 2004 08:25:19 -0800, Robin Getz
[EMAIL PROTECTED] 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 sharedbuffers cached
Mem: 249
Greetings Robin,
As far as you cannot lock another processes in the system, so this will
not give you the security that the resources will not change -and
probably they'll do it- while you're trying to download that file.
Best regards,
Robin Getz wrote:
I have been unable to find a php function
Francisco M. Marzoa Alonso [EMAIL PROTECTED] wrote:
As far as you cannot lock another processes in the system, so this will
not give you the security that the resources will not change -and probably
they'll do it- while you're trying to download that file.
Yes, I understand, but not to know even
4 matches
Mail list logo