getrlimit/setrlimit
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | RLIMIT_AS
Address space limit. |
| public static final int | RLIMIT_CORE
Largest core file that can be created, in bytes. |
| public static final int | RLIMIT_CPU
Per-process CPU limit, in seconds. |
| public static final int | RLIMIT_DATA
Maximum size of data segment, in bytes. |
| public static final int | RLIMIT_FSIZE
Largest file that can be created, in bytes. |
| public static final int | RLIMIT_LOCKS
Maximum number of file locks. |
| public static final int | RLIMIT_MEMLOCK
Locked-in-memory address space. |
| public static final int | RLIMIT_MSGQUEUE
Maximum bytes in POSIX message queues. |
| public static final int | RLIMIT_NICE
Maximum nice priority allowed to raise to. |
| public static final int | RLIMIT_NLIMITS
Number of |
| public static final int | RLIMIT_NOFILE
Number of open files. |
| public static final int | RLIMIT_NPROC
Number of processes. |
| public static final int | RLIMIT_RSS
Largest resident set size, in bytes. |
| public static final int | |
| public static final 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. |
| public static final int | RLIMIT_SIGPENDING
Maximum number of pending signals. |
| public static final int | RLIMIT_STACK
Maximum size of stack segment, in bytes. |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int |
| RLIMIT_AS | back to summary |
|---|---|
| public static final int RLIMIT_AS Address space limit. | |
| RLIMIT_CORE | back to summary |
|---|---|
| public static final int RLIMIT_CORE Largest core file that can be created, in bytes. | |
| RLIMIT_CPU | back to summary |
|---|---|
| public static final int RLIMIT_CPU Per-process CPU limit, in seconds. | |
| RLIMIT_DATA | back to summary |
|---|---|
| public static final int RLIMIT_DATA Maximum size of data segment, in bytes. | |
| RLIMIT_FSIZE | back to summary |
|---|---|
| public static final int RLIMIT_FSIZE Largest file that can be created, in bytes. | |
| RLIMIT_LOCKS | back to summary |
|---|---|
| public static final int RLIMIT_LOCKS Maximum number of file locks. | |
| RLIMIT_MEMLOCK | back to summary |
|---|---|
| public static final int RLIMIT_MEMLOCK Locked-in-memory address space. | |
| RLIMIT_MSGQUEUE | back to summary |
|---|---|
| public static final int RLIMIT_MSGQUEUE Maximum bytes in POSIX message queues. | |
| RLIMIT_NICE | back to summary |
|---|---|
| public static final int RLIMIT_NICE Maximum nice priority allowed to raise to. Nice levels 19 .. -20 correspond to 0 .. 39 values of this resource limit. | |
| RLIMIT_NLIMITS | back to summary |
|---|---|
| public static final int RLIMIT_NLIMITS Number of | |
| RLIMIT_NOFILE | back to summary |
|---|---|
| public static final int RLIMIT_NOFILE Number of open files. | |
| RLIMIT_NPROC | back to summary |
|---|---|
| public static final int RLIMIT_NPROC Number of processes. | |
| RLIMIT_RSS | back to summary |
|---|---|
| public static final int RLIMIT_RSS Largest resident set size, in bytes. This affects swapping; processes that are exceeding their resident set size will be more likely to have physical memory taken from them. | |
| RLIMIT_RTPRIO | back to summary |
|---|---|
| public static final int RLIMIT_RTPRIO | |
| RLIMIT_RTTIME | back to summary |
|---|---|
| public static final 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. | |
| RLIMIT_SIGPENDING | back to summary |
|---|---|
| public static final int RLIMIT_SIGPENDING Maximum number of pending signals. | |
| RLIMIT_STACK | back to summary |
|---|---|
| public static final int RLIMIT_STACK Maximum size of stack segment, in bytes. | |
| getrlimit | back to summary |
|---|---|
| public int getrlimit(int resource, Resource. | |
| setrlimit | back to summary |
|---|---|
| public int setrlimit(int resource, Resource. | |
| Modifier and Type | Field and Description |
|---|---|
| public long | rlim_cur
The current (soft) limit. |
| public long | rlim_max
The hard limit. |
| Access | Constructor and Description |
|---|---|
| public |
| rlim_cur | back to summary |
|---|---|
| public long rlim_cur The current (soft) limit. | |
| rlim_max | back to summary |
|---|---|
| public long rlim_max The hard limit. | |
| Rlimit | back to summary |
|---|---|
| public Rlimit() | |