NOTES: Add text mention the shell 'ulimit' (or 'limit')

built-in command for setting resource limits.
This commit is contained in:
Michael Kerrisk 2008-08-26 04:19:07 +00:00
parent 2c0cfe3ccc
commit 835363b211
1 changed files with 10 additions and 1 deletions

View File

@ -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