mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Followed up 796069b288
This commit is contained in:
parent
56d773dc6f
commit
6b0b326ef2
Notes:
git
2022-09-22 11:35:50 +09:00
1 changed files with 4 additions and 0 deletions
|
@ -5548,6 +5548,9 @@ rlimit_resource_name2int(const char *name, long len, int casetype)
|
|||
#ifdef RLIMIT_NPROC
|
||||
RESCHECK(NPROC);
|
||||
#endif
|
||||
#ifdef RLIMIT_NPTS
|
||||
RESCHECK(NPTS);
|
||||
#endif
|
||||
#ifdef RLIMIT_NICE
|
||||
RESCHECK(NICE);
|
||||
#endif
|
||||
|
@ -5776,6 +5779,7 @@ proc_getrlimit(VALUE obj, VALUE resource)
|
|||
* [NICE] ceiling on process's nice(2) value (number) (GNU/Linux)
|
||||
* [NOFILE] file descriptors (number) (SUSv3)
|
||||
* [NPROC] number of processes for the user (number) (4.4BSD, GNU/Linux)
|
||||
* [NPTS] number of pseudo terminals (number) (FreeBSD)
|
||||
* [RSS] resident memory size (bytes) (4.2BSD, GNU/Linux)
|
||||
* [RTPRIO] ceiling on the process's real-time priority (number) (GNU/Linux)
|
||||
* [RTTIME] CPU time for real-time process (us) (GNU/Linux)
|
||||
|
|
Loading…
Reference in a new issue