note 43598 deleted from function.posix-getrlimit by nlopess
| From: | nlopess@php.net | Date: | Sun, 27 Jun 2004 11:53:06 +0000 |
| Subject: | note 43598 deleted from function.posix-getrlimit by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-71874@lists.php.net to get a copy of this message | ||
Note Submitter: sean@thedesignpeople.com
----
<?php
/**
* loop thru the array of data returned by executing the posix_getrlimit() function
*/
foreach (posix_getrlimit() AS $k => $v) {
/** print the array-item name and value */
print $k ."=". $v ."<br>\n";
}
?>
#
# Results:
#
soft core=0
hard core=unlimited
soft data=unlimited
hard data=unlimited
soft stack=8388608
hard stack=unlimited
soft totalmem=unlimited
hard totalmem=unlimited
soft rss=unlimited
hard rss=unlimited
soft maxproc=4095
hard maxproc=4095
soft memlock=unlimited
hard memlock=unlimited
soft cpu=unlimited
hard cpu=unlimited
soft filesize=unlimited
hard filesize=unlimited
soft openfiles=1024
hard openfiles=1024
#
# OS: Slackware Linux v9.0
#