|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bootchart.common.Process
Process encapsulation.
Field Summary | |
boolean |
active
Whether the process is active. |
java.util.List |
childList
A list of children Process es. |
java.lang.String |
cmd
Command line. |
java.lang.String |
desc
Process decription (e.g. |
long |
duration
Process duration in milliseconds. |
Process |
parent
Parent process. |
int |
pid
Process ID. |
int |
ppid
Parent process ID. |
java.util.List |
samples
A list of process statistics samples (@see ProcessSample). |
java.util.Date |
startTime
Process start time. |
static int |
STATE_RUNNING
Running state. |
static int |
STATE_SLEEPING
Sleeping state. |
static int |
STATE_STOPPED
Stopped or traced. |
static int |
STATE_UNDEFINED
Undefined state. |
static int |
STATE_WAITING
Uninterruptible sleep. |
static int |
STATE_ZOMBIE
Zombie state (defunct). |
Constructor Summary | |
Process(int pid,
java.lang.String cmd)
Created a new process. |
Method Summary | |
int |
compareTo(java.lang.Object o)
|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int STATE_UNDEFINED
public static final int STATE_RUNNING
public static final int STATE_SLEEPING
public static final int STATE_WAITING
public static final int STATE_STOPPED
public static final int STATE_ZOMBIE
public int pid
public java.lang.String cmd
public java.lang.String desc
public java.util.Date startTime
public long duration
public Process parent
public int ppid
public java.util.List childList
Process
es.
public java.util.List samples
public boolean active
Constructor Detail |
public Process(int pid, java.lang.String cmd)
pid
- process IDcmd
- command lineMethod Detail |
public java.lang.String toString()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public boolean equals(java.lang.Object o)
public int hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |