Package com.sun.jna.platform.unix
Schnittstelle Resource
public interface Resource
Definitions related to
getrlimit/setrlimit- Autor:
- Lyor Goldstein
-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final intAddress space limit.static final intLargest core file that can be created, in bytes.static final intPer-process CPU limit, in seconds.static final intMaximum size of data segment, in bytes.static final intLargest file that can be created, in bytes.static final intMaximum number of file locks.static final intLocked-in-memory address space.static final intMaximum bytes in POSIX message queues.static final intMaximum nice priority allowed to raise to.static final intNumber ofrlimitvaluesstatic final intNumber of open files.static final intNumber of processes.static final intLargest resident set size, in bytes.static final intstatic final intMaximum 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 final intMaximum number of pending signals.static final intMaximum size of stack segment, in bytes. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungintgetrlimit(int resource, Resource.Rlimit rlim) intsetrlimit(int resource, Resource.Rlimit rlim)
-
Felddetails
-
RLIMIT_CPU
static final int RLIMIT_CPUPer-process CPU limit, in seconds.- Siehe auch:
-
RLIMIT_FSIZE
static final int RLIMIT_FSIZELargest file that can be created, in bytes.- Siehe auch:
-
RLIMIT_DATA
static final int RLIMIT_DATAMaximum size of data segment, in bytes.- Siehe auch:
-
RLIMIT_STACK
static final int RLIMIT_STACKMaximum size of stack segment, in bytes.- Siehe auch:
-
RLIMIT_CORE
static final int RLIMIT_CORELargest core file that can be created, in bytes.- Siehe auch:
-
RLIMIT_RSS
static final int RLIMIT_RSSLargest 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.- Siehe auch:
-
RLIMIT_NOFILE
static final int RLIMIT_NOFILENumber of open files.- Siehe auch:
-
RLIMIT_AS
static final int RLIMIT_ASAddress space limit.- Siehe auch:
-
RLIMIT_NPROC
static final int RLIMIT_NPROCNumber of processes.- Siehe auch:
-
RLIMIT_MEMLOCK
static final int RLIMIT_MEMLOCKLocked-in-memory address space.- Siehe auch:
-
RLIMIT_LOCKS
static final int RLIMIT_LOCKSMaximum number of file locks.- Siehe auch:
-
RLIMIT_SIGPENDING
static final int RLIMIT_SIGPENDINGMaximum number of pending signals.- Siehe auch:
-
RLIMIT_MSGQUEUE
static final int RLIMIT_MSGQUEUEMaximum bytes in POSIX message queues.- Siehe auch:
-
RLIMIT_NICE
static final int RLIMIT_NICEMaximum nice priority allowed to raise to. Nice levels 19 .. -20 correspond to 0 .. 39 values of this resource limit.- Siehe auch:
-
RLIMIT_RTPRIO
static final int RLIMIT_RTPRIO- Siehe auch:
-
RLIMIT_RTTIME
static final int RLIMIT_RTTIMEMaximum 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.- Siehe auch:
-
RLIMIT_NLIMITS
static final int RLIMIT_NLIMITSNumber ofrlimitvalues- Siehe auch:
-
-
Methodendetails
-
getrlimit
-
setrlimit
-