public abstract class PsProcess extends Object
Constructor and Description |
---|
PsProcess(int pid,
int ppid,
String args,
PsBasedProcessTree ptree) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getArgs() |
List<PsProcess> |
getChildren() |
PsProcess |
getParent() |
Map<Integer,PsProcess> |
getParentHierarchy(PsProcess p) |
int |
getPid() |
int |
getPpid() |
int |
hashCode() |
void |
kill() |
abstract void |
kill(int signum) |
void |
killAllExceptMe() |
void |
killHard() |
void |
killRecursively() |
String |
toString() |
public PsProcess(int pid, int ppid, String args, PsBasedProcessTree ptree)
public int getPid()
public int getPpid()
public String getArgs()
public PsProcess getParent()
public void killRecursively()
public void kill()
public void killHard()
public abstract void kill(int signum)
public void killAllExceptMe()
Copyright © 2016–2021. All rights reserved.