Method System.getrlimit()
- Method getrlimit
 array(int) getrlimit(stringresource)- Description
 Returns the current process limitation for the selected
resource.- Parameter 
resource cpuThe CPU time limit in seconds.
fsizeThe maximum size of files the process may create.
dataThe maximum size of the process's data segment.
stackThe maximum size of process stack, in bytes.
corerssSpecifies the limit of pages the process's resident set.
nprocThe maximum number of processes that can be created for the real user ID of the calling process.
nofileThe maximum number of file descriptors the process can open, +1.
memlockThe maximum number of bytes of virtual memory that may be locked into RAM.
asvmem- Returns
 Array int0The soft limit for the resource.
-1means no limit.int1The hard limit for the resource.
-1means no limit.- Note
 This function nor all the resources are available on all systems.
- See also