From 6d0620d8659f0988b6b63ecb00b2653f2e076657 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 24 Nov 2012 09:08:04 +0100 Subject: [PATCH] getrlimit.2: Point reader at discussion of /proc/[pid]/limits in proc(5) Signed-off-by: Michael Kerrisk --- man2/getrlimit.2 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/man2/getrlimit.2 b/man2/getrlimit.2 index 3b71e6615..8225e143c 100644 --- a/man2/getrlimit.2 +++ b/man2/getrlimit.2 @@ -61,7 +61,7 @@ .\" 2008-05-07, mtk / Peter Zijlstra, Added description of RLIMIT_RTTIME .\" 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 getrlimit, setrlimit, prlimit \- get/set resource limits .SH SYNOPSIS @@ -509,6 +509,11 @@ in The shell's resource limits are inherited by the processes that 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 .BR vlimit () function with a similar purpose to