- <init>
Build a new process tree rooted at the pid. This method is provided mainly for
testing purposes, whe
- checkPidPgrpidForMatch
- getCpuUsagePercent
Get the CPU usage by all the processes in the process-tree in Unix. Note:
UNAVAILABLE will be return
- getProcessTreeDump
Get a dump of the process-tree.
- getRssMemorySize
- getVirtualMemorySize
- updateProcessTree
Update process-tree with latest state. If the root-process is not alive, tree
will be empty.
- isAvailable
Checks if the ProcfsBasedProcessTree is available on this system.
- toString
Returns a string printing PIDs of process present in the ProcfsBasedProcessTree.
Output format : [pi
- getCumulativeCpuTime
- constructProcessInfo
Construct the ProcessInfo using the process' PID and procfs rooted at the
specified directory and re
- constructProcessSMAPInfo
Update memory related information