getrlimit.2: Point reader at discussion of /proc/[pid]/limits in proc(5)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-11-24 09:08:04 +01:00
parent b8d5a242bf
commit 6d0620d865
1 changed files with 6 additions and 1 deletions

View File

@ -61,7 +61,7 @@
.\" 2008-05-07, mtk / Peter Zijlstra, Added description of RLIMIT_RTTIME .\" 2008-05-07, mtk / Peter Zijlstra, Added description of RLIMIT_RTTIME
.\" 2010-11-06, mtk: Added documentation of prlimit() .\" 2010-11-06, mtk: Added documentation of prlimit()
.\" .\"
.TH GETRLIMIT 2 2011-09-10 "Linux" "Linux Programmer's Manual" .TH GETRLIMIT 2 2012-11-24 "Linux" "Linux Programmer's Manual"
.SH NAME .SH NAME
getrlimit, setrlimit, prlimit \- get/set resource limits getrlimit, setrlimit, prlimit \- get/set resource limits
.SH SYNOPSIS .SH SYNOPSIS
@ -509,6 +509,11 @@ in
The shell's resource limits are inherited by the processes that The shell's resource limits are inherited by the processes that
it creates to execute commands. it creates to execute commands.
Since Linux 2.6.24, the resource limits of any process can be inspected via
.IR /proc/[pid]/limits ;
see
.BR proc (5).
Ancient systems provided a Ancient systems provided a
.BR vlimit () .BR vlimit ()
function with a similar purpose to function with a similar purpose to