|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object frysk.sys.proc.Stat
public class Stat
The contents of /proc/PID/stat file.
Field Summary | |
---|---|
long |
blocked
The bitmap of blocked signals. |
long |
cmajflt
The number of major faluts of the children. |
long |
cminflt
The number of minor faults of the children. |
long |
cnswap
Number of pages swapped by children. |
String |
comm
The filename of the executable. |
long |
cstime
The number of kernel mode child jiffies. |
long |
cutime
The number of user mode child jiffies. |
long |
endcode
The address below which program text can run. |
int |
exitSignal
Signal to be sent to parent. |
long |
flags
The flags of the process. |
long |
irealvalue
The number of jiffies to the next SIGALRM. |
long |
kstkeip
The current instruction pointer. |
long |
kstkesp
The current value of the stack pointer. |
long |
majflt
The number of major faults. |
long |
minflt
The number of minor faults. |
int |
nice
The nice value. |
long |
nswap
Number of pages swapped. |
int |
numThreads
The number of threads (since 2.6). |
int |
pgrp
The process group ID. |
ProcessIdentifier |
pid
The thread id (== pid in main thread) |
ProcessIdentifier |
ppid
The parent process id. |
long |
priority
The nice value (plus fifteen). |
int |
processor
CPU number last executed on. |
long |
rlim
Current rss limit. |
long |
rss
Resident Set Size. |
int |
session
The session ID. |
long |
sigcatch
The bitmap of catched signals. |
long |
sigignore
The bitmap of ignored signals. |
long |
signal
The bitmap of pending signals. |
long |
startcode
The address above which program text can run. |
long |
startstack
The address of the start of the stack. |
long |
starttime
The number of jiffies, after system boot, that process started. |
char |
state
The state represented by a character from "RSDZTW". |
long |
stime
The number of kernel mode jiffies. |
int |
tpgid
The process group ID of the process that owns the tty. |
int |
ttyNr
The tty. |
long |
utime
The number of user mode jiffies. |
long |
vsize
Virtual memory size. |
long |
wchan
The "channel" in which the process is waiting. |
Constructor Summary | |
---|---|
Stat()
Create an unbounded Stat object. |
Method Summary | |
---|---|
Stat |
rescan()
Re-scan using the current pid. |
Stat |
scan(ProcessIdentifier pid)
Refresh Stat from /proc/PID/stat, return true if the scan was successful. |
Stat |
scan(ProcessIdentifier pid,
ProcessIdentifier tid)
Refresh Stat from /proc/PID/task/TID/stat, return true if the scan was successful. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public ProcessIdentifier pid
public String comm
public char state
public ProcessIdentifier ppid
public int pgrp
public int session
public int ttyNr
public int tpgid
public long flags
public long minflt
public long cminflt
public long majflt
public long cmajflt
public long utime
public long stime
public long cutime
public long cstime
public long priority
public int nice
public int numThreads
public long irealvalue
public long starttime
public long vsize
public long rss
public long rlim
public long startcode
public long endcode
public long startstack
public long kstkesp
public long kstkeip
public long signal
public long blocked
public long sigignore
public long sigcatch
public long wchan
public long nswap
public long cnswap
public int exitSignal
public int processor
Constructor Detail |
---|
public Stat()
Method Detail |
---|
public String toString()
toString
in class Object
public Stat scan(ProcessIdentifier pid)
public Stat rescan()
public Stat scan(ProcessIdentifier pid, ProcessIdentifier tid)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |