D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Process
/
Filename :
getrlimit-c.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Gets the resource limit of the process. <em>cur_limit</em> means current (soft) limit and <em>max_limit</em> means maximum (hard) limit. - !ruby/struct:SM::Flow::P body: "<em>resource</em> indicates the kind of resource to limit: such as <tt>Process::RLIMIT_CORE</tt>, <tt>Process::RLIMIT_CPU</tt>, etc. See Process.setrlimit for details." - !ruby/struct:SM::Flow::P body: <em>cur_limit</em> and <em>max_limit</em> may be <tt>Process::RLIM_INFINITY</tt>, <tt>Process::RLIM_SAVED_MAX</tt> or <tt>Process::RLIM_SAVED_CUR</tt>. See Process.setrlimit and the system getrlimit(2) manual for details. full_name: Process::getrlimit is_singleton: true name: getrlimit params: | Process.getrlimit(resource) => [cur_limit, max_limit] visibility: public