Process.getrlimit(resource) รข [cur_limit, max_limit]
Class Public methods
Gets the resource limit of the process. cur_limit means current (soft) limit and max_limit means maximum (hard) limit.
resource indicates the kind of resource to limit. It is specified
as a symbol such as :CORE
, a string such as
"CORE"
or a constant such as
Process::RLIMIT_CORE
. See ::setrlimit for details.
cur_limit and max_limit may be
Process::RLIM_INFINITY
, Process::RLIM_SAVED_MAX
or Process::RLIM_SAVED_CUR
. See ::setrlimit and the system
getrlimit(2) manual for details.
Please login to continue.