public class POSIXCommandsImpl extends LinuxCommands
LinuxCommands.TreeStats| Constructor and Description |
|---|
POSIXCommandsImpl() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
decorateRunAsCommand(String[] cmd,
String user) |
String[] |
decorateWithBatchSchedulerPolicy(String[] cmd) |
String[] |
decorateWithCPUAffinity(String[] cmd,
String affinity) |
String |
getFileOwner(File f) |
long[] |
getMemInfo()
Returns an array of length 2 being ret[0]: total RAM, and ret[1]:
available RAM
|
String |
getRunningUser() |
LinuxCommands.TreeStats[] |
getTreeStats(int[] pIds) |
void |
killTree(int pId) |
static void |
main(String[] args) |
void |
setNiceness(int pId,
int niceness) |
getInstancepublic void setNiceness(int pId,
int niceness)
setNiceness in class LinuxCommandspublic void killTree(int pId)
killTree in class LinuxCommandspublic LinuxCommands.TreeStats[] getTreeStats(int[] pIds)
getTreeStats in class LinuxCommandspublic String[] decorateWithCPUAffinity(String[] cmd, String affinity)
decorateWithCPUAffinity in class LinuxCommandspublic String[] decorateWithBatchSchedulerPolicy(String[] cmd)
decorateWithBatchSchedulerPolicy in class LinuxCommandspublic long[] getMemInfo()
LinuxCommandsgetMemInfo in class LinuxCommandspublic String[] decorateRunAsCommand(String[] cmd, String user)
decorateRunAsCommand in class LinuxCommandspublic String getRunningUser()
getRunningUser in class LinuxCommandspublic String getFileOwner(File f)
getFileOwner in class LinuxCommandspublic static void main(String[] args)
Copyright © 2010–2017. All rights reserved.