public final class Ulimit extends Object implements UlimitMetKeys
A static API to detect ulimit properties on an underlying *-nix system.
.CORE_FILE_SIZE, DATA_SEGMENT_SIZE, FILE_SIZE, MAX_CPU_TIME, MAX_LOCKED_MEMORY, MAX_MEMORY_SIZE, MAX_OPEN_FILES, MAX_PIPE_SIZE, MAX_STACK_SIZE, MAX_USER_PROCESSES, MAX_VIRTUAL_MEMORY
Constructor and Description |
---|
Ulimit() |
Modifier and Type | Method and Description |
---|---|
static String |
getCoreFileSize() |
static String |
getDataSegmentSize() |
static String |
getFileSize() |
static String |
getMaxCpuTime() |
static String |
getMaxLockedMemory() |
static String |
getMaxMemorySize() |
static String |
getMaxOpenFiles() |
static String |
getMaxPipeSize() |
static String |
getMaxStackSize() |
static String |
getMaxUserProcesses() |
static String |
getMaxVirtualMemory() |
static List |
getUlimitProperties() |
static Map |
getUlimitPropertiesMap() |
public static String getCoreFileSize()
public static String getDataSegmentSize()
public static String getFileSize()
public static String getMaxLockedMemory()
public static String getMaxMemorySize()
public static String getMaxOpenFiles()
public static String getMaxPipeSize()
public static String getMaxStackSize()
public static String getMaxCpuTime()
public static String getMaxUserProcesses()
public static String getMaxVirtualMemory()
public static Map getUlimitPropertiesMap() throws ResourceException, IOException
ResourceException
IOException
public static List getUlimitProperties() throws ResourceException, IOException
ResourceException
IOException
Copyright © 1999–2017 Apache OODT. All rights reserved.