SCCS-vsn: lib/libc/sys/getrlimit.2 6.2
SCCS-vsn: lib/libc/sys/getrusage.2 6.2
SCCS-vsn: lib/libc/sys/getuid.2 6.2
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)getrlimit.2 6.1 (Berkeley) %G%
+.\" @(#)getrlimit.2 6.2 (Berkeley) %G%
.\"
.TH GETRLIMIT 2 ""
.UC 4
.\"
.TH GETRLIMIT 2 ""
.UC 4
each process.
.TP 17
RLIMIT_FSIZE
each process.
.TP 17
RLIMIT_FSIZE
-the largest size, in bytes, of any single file which may be created.
+the largest size, in bytes, of any single file that may be created.
.TP 17
RLIMIT_DATA
the maximum size, in bytes, of the data segment for a process;
.TP 17
RLIMIT_DATA
the maximum size, in bytes, of the data segment for a process;
RLIMIT_CORE
the largest size, in bytes, of a
.I core
RLIMIT_CORE
the largest size, in bytes, of a
.I core
-file which may be created.
+file that may be created.
.TP 17
RLIMIT_RSS
the maximum size, in bytes, a process's resident set size may
grow to. This imposes a limit on the amount of physical memory
to be given to a process; if memory is tight, the system will
.TP 17
RLIMIT_RSS
the maximum size, in bytes, a process's resident set size may
grow to. This imposes a limit on the amount of physical memory
to be given to a process; if memory is tight, the system will
-prefer to take memory from processes which are exceeding their
+prefer to take memory from processes that are exceeding their
declared resident set size.
.PP
A resource limit is specified as a soft limit and a hard limit.
declared resident set size.
.PP
A resource limit is specified as a soft limit and a hard limit.
killed when the stack limit is reached (since the stack cannot be
extended, there is no way to send a signal!).
.PP
killed when the stack limit is reached (since the stack cannot be
extended, there is no way to send a signal!).
.PP
-A file i/o operation which would create a file which is too large
+A file i/o operation that would create a file that is too large
will cause a signal SIGXFSZ to be generated, this normally terminates
the process, but may be caught.
When the soft cpu time limit is exceeded, a signal SIGXCPU is sent to the
will cause a signal SIGXFSZ to be generated, this normally terminates
the process, but may be caught.
When the soft cpu time limit is exceeded, a signal SIGXCPU is sent to the
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)getrusage.2 6.1 (Berkeley) %G%
+.\" @(#)getrusage.2 6.2 (Berkeley) %G%
.\"
.TH GETRUSAGE 2 ""
.UC 4
.\"
.TH GETRUSAGE 2 ""
.UC 4
.TP 15
ru_ixrss
an \*(lqintegral\*(rq value indicating the amount of memory used
.TP 15
ru_ixrss
an \*(lqintegral\*(rq value indicating the amount of memory used
-which was also shared among other processes. This value is expressed
+that was also shared among other processes. This value is expressed
in units of kilobytes * seconds-of-execution and is calculated by
summing the number of shared memory pages in use each time the internal
system clock ticks and then averaging over 1 second intervals.
in units of kilobytes * seconds-of-execution and is calculated by
summing the number of shared memory pages in use each time the internal
system clock ticks and then averaging over 1 second intervals.
the list of pages awaiting reallocation.
.TP 15
ru_majflt
the list of pages awaiting reallocation.
.TP 15
ru_majflt
-the number of page faults serviced which required i/o activity.
+the number of page faults serviced that required i/o activity.
.TP 15
ru_nswap
the number of times a process was \*(lqswapped\*(rq out of main
.TP 15
ru_nswap
the number of times a process was \*(lqswapped\*(rq out of main
gettimeofday(2), wait(2)
.SH BUGS
There is no way to obtain information about a child process
gettimeofday(2), wait(2)
.SH BUGS
There is no way to obtain information about a child process
-which has not yet terminated.
+that has not yet terminated.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)getuid.2 6.1 (Berkeley) %G%
+.\" @(#)getuid.2 6.2 (Berkeley) %G%
.\"
.TH GETUID 2 ""
.UC 4
.\"
.TH GETUID 2 ""
.UC 4
The effective user ID
gives the process additional permissions during
execution of \*(lqset-user-ID\*(rq mode processes, which use
The effective user ID
gives the process additional permissions during
execution of \*(lqset-user-ID\*(rq mode processes, which use
-\fIgetuid\fP to determine the real-user-id of the process which
+\fIgetuid\fP to determine the real-user-id of the process that
invoked them.
.SH "SEE ALSO"
getgid(2), setreuid(2)
invoked them.
.SH "SEE ALSO"
getgid(2), setreuid(2)