|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.conf.Configured
org.apache.hadoop.yarn.util.ResourceCalculatorProcessTree
org.apache.hadoop.yarn.util.WindowsBasedProcessTree
@InterfaceAudience.Private public class WindowsBasedProcessTree
| Constructor Summary | |
|---|---|
WindowsBasedProcessTree(String pid)
|
|
| Method Summary | |
|---|---|
boolean |
checkPidPgrpidForMatch()
Verify that the tree process id is same as its process group id. |
long |
getCumulativeCpuTime()
Get the CPU time in millisecond used by all the processes in the process-tree since the process-tree created |
long |
getCumulativeRssmem(int olderThanAge)
Get the cumulative resident set size (rss) memory used by all the processes in the process-tree that are older than the passed in age. |
long |
getCumulativeVmem(int olderThanAge)
Get the cumulative virtual memory used by all the processes in the process-tree that are older than the passed in age. |
String |
getProcessTreeDump()
Get a dump of the process-tree. |
static boolean |
isAvailable()
|
void |
updateProcessTree()
Update the process-tree with latest state. |
| Methods inherited from class org.apache.hadoop.yarn.util.ResourceCalculatorProcessTree |
|---|
getCumulativeRssmem, getCumulativeVmem, getResourceCalculatorProcessTree |
| Methods inherited from class org.apache.hadoop.conf.Configured |
|---|
getConf, setConf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WindowsBasedProcessTree(String pid)
| Method Detail |
|---|
public static boolean isAvailable()
public void updateProcessTree()
ResourceCalculatorProcessTree
updateProcessTree in class ResourceCalculatorProcessTreepublic boolean checkPidPgrpidForMatch()
ResourceCalculatorProcessTree
checkPidPgrpidForMatch in class ResourceCalculatorProcessTreepublic String getProcessTreeDump()
ResourceCalculatorProcessTree
getProcessTreeDump in class ResourceCalculatorProcessTreepublic long getCumulativeVmem(int olderThanAge)
ResourceCalculatorProcessTree
getCumulativeVmem in class ResourceCalculatorProcessTreeolderThanAge - processes above this age are included in the
memory addition
public long getCumulativeRssmem(int olderThanAge)
ResourceCalculatorProcessTree
getCumulativeRssmem in class ResourceCalculatorProcessTreeolderThanAge - processes above this age are included in the
memory addition
public long getCumulativeCpuTime()
ResourceCalculatorProcessTree
getCumulativeCpuTime in class ResourceCalculatorProcessTree
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||