mirror of https://github.com/mkerrisk/man-pages
NOTES: Add text mention the shell 'ulimit' (or 'limit')
built-in command for setting resource limits.
This commit is contained in:
parent
2c0cfe3ccc
commit
835363b211
|
@ -60,7 +60,7 @@
|
||||||
.\" 2005-07-28, mtk, Added descriptions of RLIMIT_NICE and RLIMIT_RTPRIO
|
.\" 2005-07-28, mtk, Added descriptions of RLIMIT_NICE and RLIMIT_RTPRIO
|
||||||
.\" 2008-05-07, mtk / Peter Zijlstra, Added description of RLIMIT_RTTIME
|
.\" 2008-05-07, mtk / Peter Zijlstra, Added description of RLIMIT_RTTIME
|
||||||
.\"
|
.\"
|
||||||
.TH GETRLIMIT 2 2008-06-17 "Linux" "Linux Programmer's Manual"
|
.TH GETRLIMIT 2 2008-08-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
getrlimit, setrlimit \- get/set resource limits
|
getrlimit, setrlimit \- get/set resource limits
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -414,6 +414,15 @@ A child process created via
|
||||||
inherits its parent's resource limits.
|
inherits its parent's resource limits.
|
||||||
Resource limits are preserved across
|
Resource limits are preserved across
|
||||||
.BR execve (2).
|
.BR execve (2).
|
||||||
|
|
||||||
|
One can set the resource limits of the shell using the built-in
|
||||||
|
.IR ulimit
|
||||||
|
command
|
||||||
|
.RI ( limit
|
||||||
|
in
|
||||||
|
.BR csh (1)).
|
||||||
|
The shell's resource limits are inherited by the processes that
|
||||||
|
it creates to execute commands.
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
In older Linux kernels, the
|
In older Linux kernels, the
|
||||||
.B SIGXCPU
|
.B SIGXCPU
|
||||||
|
|
Loading…
Reference in New Issue