Modifier and Type | Interface and Description |
---|---|
static class |
Resource.Rlimit |
Modifier and Type | Field and Description |
---|---|
static int |
RLIMIT_AS
Address space limit.
|
static int |
RLIMIT_CORE
Largest core file that can be created, in bytes.
|
static int |
RLIMIT_CPU
Per-process CPU limit, in seconds.
|
static int |
RLIMIT_DATA
Maximum size of data segment, in bytes.
|
static int |
RLIMIT_FSIZE
Largest file that can be created, in bytes.
|
static int |
RLIMIT_LOCKS
Maximum number of file locks.
|
static int |
RLIMIT_MEMLOCK
Locked-in-memory address space.
|
static int |
RLIMIT_MSGQUEUE
Maximum bytes in POSIX message queues.
|
static int |
RLIMIT_NICE
Maximum nice priority allowed to raise to.
|
static int |
RLIMIT_NLIMITS
Number of
rlimit values |
static int |
RLIMIT_NOFILE
Number of open files.
|
static int |
RLIMIT_NPROC
Number of processes.
|
static int |
RLIMIT_RSS
Largest resident set size, in bytes.
|
static int |
RLIMIT_RTPRIO |
static int |
RLIMIT_RTTIME
Maximum CPU time in microseconds that a process scheduled under a
real-time scheduling policy may consume without making a blocking
system call before being forcibly de-scheduled.
|
static int |
RLIMIT_SIGPENDING
Maximum number of pending signals.
|
static int |
RLIMIT_STACK
Maximum size of stack segment, in bytes.
|
Modifier and Type | Method and Description |
---|---|
int |
getrlimit(int resource,
Resource.Rlimit rlim) |
int |
setrlimit(int resource,
Resource.Rlimit rlim) |
static final int RLIMIT_CPU
static final int RLIMIT_FSIZE
static final int RLIMIT_DATA
static final int RLIMIT_STACK
static final int RLIMIT_CORE
static final int RLIMIT_RSS
static final int RLIMIT_NOFILE
static final int RLIMIT_AS
static final int RLIMIT_NPROC
static final int RLIMIT_MEMLOCK
static final int RLIMIT_LOCKS
static final int RLIMIT_SIGPENDING
static final int RLIMIT_MSGQUEUE
static final int RLIMIT_NICE
static final int RLIMIT_RTPRIO
static final int RLIMIT_RTTIME
static final int RLIMIT_NLIMITS
rlimit
valuesint getrlimit(int resource, Resource.Rlimit rlim)
int setrlimit(int resource, Resource.Rlimit rlim)