note 43598 added to function.posix-getrlimit
| From: | sean at thedesignpeople dot com | Date: | Sun, 27 Jun 2004 10:19:25 +0000 |
| Subject: | note 43598 added to function.posix-getrlimit | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-71873@lists.php.net to get a copy of this message | ||
<?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
#
----
Manual Page -- http://www.php.net/manual/en/function.posix-getrlimit.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43598
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43598&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43598&report=yes
Search -- http://master.php.net/manage/user-notes.php