public final class POSIXCommandsImpl extends LinuxCommands
| Constructor and Description |
|---|
POSIXCommandsImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
createNamedPipes(File... files) |
String[] |
decorateWithCPUAffinity(String[] cmd,
String affinity) |
String |
getFileOwner(File f) |
String[] |
getRunAsCommand(String user,
String[] cmd) |
String |
getRunningUser() |
long |
getSystemRSSFreeMemory() |
long |
getSystemRSSMemory() |
long |
getSystemRSSUsedMemory() |
void |
getTree(Set<Integer> visited,
int pId,
boolean stop) |
long[] |
getTreeRSS(int[] pIds) |
void |
killTree(int pId) |
void |
setImmutable(File f,
boolean immutable) |
void |
setNiceness(int pId,
int niceness) |
getInstancepublic void setNiceness(int pId,
int niceness)
throws IOException,
InterruptedException
setNiceness in class LinuxCommandsIOExceptionInterruptedExceptionpublic void setImmutable(File f, boolean immutable) throws IOException, InterruptedException
setImmutable in class LinuxCommandsIOExceptionInterruptedExceptionpublic void killTree(int pId)
throws IOException,
InterruptedException
killTree in class LinuxCommandsIOExceptionInterruptedExceptionpublic void getTree(Set<Integer> visited, int pId, boolean stop) throws InterruptedException
InterruptedExceptionpublic long getSystemRSSUsedMemory()
throws IOException,
InterruptedException
getSystemRSSUsedMemory in class LinuxCommandsIOExceptionInterruptedExceptionpublic long[] getTreeRSS(int[] pIds)
throws IOException,
InterruptedException
getTreeRSS in class LinuxCommandsIOExceptionInterruptedExceptionpublic String[] decorateWithCPUAffinity(String[] cmd, String affinity)
decorateWithCPUAffinity in class LinuxCommandspublic long getSystemRSSFreeMemory()
throws IOException,
InterruptedException
getSystemRSSFreeMemory in class LinuxCommandsIOExceptionInterruptedExceptionpublic long getSystemRSSMemory()
throws IOException,
InterruptedException
getSystemRSSMemory in class LinuxCommandsIOExceptionInterruptedExceptionpublic String[] getRunAsCommand(String user, String[] cmd)
getRunAsCommand in class LinuxCommandspublic String getRunningUser() throws IOException, InterruptedException
getRunningUser in class LinuxCommandsIOExceptionInterruptedExceptionpublic void createNamedPipes(File... files) throws IOException, InterruptedException
createNamedPipes in class LinuxCommandsIOExceptionInterruptedExceptionpublic String getFileOwner(File f) throws IOException, InterruptedException
getFileOwner in class LinuxCommandsIOExceptionInterruptedExceptionCopyright © 2010–2016. All rights reserved.