All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class ss_work.Process
java.lang.Object
   |
   +----ss_work.Process
  -  public class Process
  
-  extends Object
  
  
  -  
	blocked
   -  blocked
  
 -  
	cmaj_flt
   -  cumulative number of major page faults
  
 -  
	cmin_flt
   -  cumulative number of minor page faults
  
 -  
	cnswap
   -  cumulative Kilobytes on swap device
  
 -  
	command
   -  simple name of executeble
  
 -  
	cstime
   -  cumulative system time
  
 -  
	cutime
   -  cumulative user time
  
 -  
	devices
   -  
  
 -  
	drs
   -  stack resident size
  
 -  
	dt
   -  dirty
  
 -  
	eip
   -  ? instruction pointer
  
 -  
	end_code
   -  ? ending code address in memory
  
 -  
	esp
   -  ? segment pointer
  
 -  
	exit_signal
   -  exit signal
  
 -  
	files
   -  
  
 -  
	flags
   -  flags as in long format F filed
  
 -  
	gid
   -  group ID
  
 -  
	HZ
   -  
  
 -  
	it_real_value
   -  ?
  
 -  
	lrs
   -  library resident size
  
 -  
	maj_flt
   -  number of major page faults
  
 -  
	MemTotal
   -  
  
 -  
	MemUsage
   -  
  
 -  
	min_flt
   -  number of minor page faults
  
 -  
	nice
   -  nice value
  
 -  
	nswap
   -  Kilobytes on swap device
  
 -  
	pgrp
   -  process group ID
  
 -  
	pid
   -  process ID
  
 -  
	pipes
   -  
  
 -  
	ppid
   -  parent process ID
  
 -  
	priority
   -  priority, time in HZ of process's possible timeslice
  
 -  
	resident
   -  Kb resident in memory
  
 -  
	rlim
   -  ? resident pages ?
  
 -  
	rss
   -  resident set size, kb of program in memory
  
 -  
	session
   -  session ID
  
 -  
	share
   -  Kb in shared memory
  
 -  
	sigcatch
   -  catch signal set
  
 -  
	sigignore
   -  ignore signal set
  
 -  
	signal
   -  signal ?
  
 -  
	size
   -  Kb in total memory
  
 -  
	Sockets
   -  
  
 -  
	sockets
   -  
  
 -  
	start_code
   -  ? starting code address in memory
  
 -  
	start_stack
   -  ? address of stack ?
  
 -  
	start_time
   -  time process was started
  
 -  
	stat
   -  
  
 -  
	state
   -  stae of process (only in 2.1 kernels)!!!!!!
  
 -  
	stateL
   -  long version of state
  
 -  
	statm
   -  
  
 -  
	status
   -  
  
 -  
	stime
   -  system time
  
 -  
	timeout
   -  timeout
  
 -  
	trs
   -  text resident size
  
 -  
	tty
   -  minor device number of tty
  
 -  
	tty_pgrp
   -  controlling tty process group ID
  
 -  
	uid
   -  user ID
  
 -  
	uptime
   -  
  
 -  
	utime
   -  user time
  
 -  
	vmdata
   -  data size
  
 -  
	vmexe
   -  exe size
  
 -  
	vmlck
   -  lock size
  
 -  
	vmlib
   -  library size
  
 -  
	vmrss
   -  resident set size
  
 -  
	vmsize
   -  total vm size
  
 -  
	vmstk
   -  stack size
  
 -  
	vsize
   -  total virtual memory size
  
 -  
	wchan
   -  kernel  function  where the process is sleeping (/etc/psdatabase)
 
  
  -  
	Process(String)
   -  
 
  
  -  
	()
   -  
  
 -  
	getCpuUsage()
   -  cpu usage howmany cycles has a process used since it's been running
  
 -  
	getDevices()
   -  return a vector of devices associated with this process (/dev/ttyS1)
  
 -  
	getFiles()
   -  return a vector of file names associated with this process (mypaper.txt)
  
 -  
	getHZ()
   -  this tells us howmany ticks per second, we take the number of calls to the timer interupt and devide it by uptime
  
 -  
	getMemTotal()
   -  this gets the total system memory, w/o swap added in but will only parse once
  
 -  
	getMemUsage()
   -  this matches what ps.c had for determineing memory usage.
  
 -  
	getpagesize()
   -  method to get system page size
  
 -  
	getPipes()
   -  return a vector of pipes associated with this process (thread communication, or real pipes ala IPC)
  
 -  
	getSockets()
   -  return a vector of sockets associated with this process (tcp,udp,raw,stream/unix)
  
 -  
	getUptime()
   -  this tells us howmany seconds the system has been running
  
 -  
	readlink(String)
   -  method to get accurate symbolic links
  
 -  
	toString()
   -  this get called by System.out.println(process) makes debuging eaiser.
  
 -  
	update()
   -  this is a method that will update a processes information
 
  
pid
 long pid
  -  process ID
 
command
 String command
  -  simple name of executeble
 
state
 String state
  -  stae of process (only in 2.1 kernels)!!!!!!
 
ppid
 long ppid
  -  parent process ID
 
pgrp
 long pgrp
  -  process group ID
 
session
 long session
  -  session ID
 
tty
 long tty
  -  minor device number of tty
 
tty_pgrp
 long tty_pgrp
  -  controlling tty process group ID
 
flags
 long flags
  -  flags as in long format F filed
 
min_flt
 long min_flt
  -  number of minor page faults
 
cmin_flt
 long cmin_flt
  -  cumulative number of minor page faults
 
maj_flt
 long maj_flt
  -  number of major page faults
 
cmaj_flt
 long cmaj_flt
  -  cumulative number of major page faults
 
utime
 long utime
  -  user time
 
stime
 long stime
  -  system time
 
cutime
 long cutime
  -  cumulative user time
 
cstime
 long cstime
  -  cumulative system time
 
priority
 long priority
  -  priority, time in HZ of process's possible timeslice
 
nice
 long nice
  -  nice value
 
timeout
 long timeout
  -  timeout
 
it_real_value
 long it_real_value
  -  ?
 
start_time
 long start_time
  -  time process was started
 
vsize
 long vsize
  -  total virtual memory size
 
rss
 long rss
  -  resident set size, kb of program in memory
 
rlim
 long rlim
  -  ? resident pages ?
 
start_code
 long start_code
  -  ? starting code address in memory
 
end_code
 long end_code
  -  ? ending code address in memory
 
start_stack
 long start_stack
  -  ? address of stack ?
 
esp
 long esp
  -  ? segment pointer
 
eip
 long eip
  -  ? instruction pointer
 
signal
 long signal
  -  signal ?
 
blocked
 long blocked
  -  blocked
 
sigignore
 long sigignore
  -  ignore signal set
 
sigcatch
 long sigcatch
  -  catch signal set
 
wchan
 long wchan
  -  kernel  function  where the process is sleeping (/etc/psdatabase)
 
nswap
 long nswap
  -  Kilobytes on swap device
 
cnswap
 long cnswap
  -  cumulative Kilobytes on swap device
 
exit_signal
 long exit_signal
  -  exit signal
 
size
 long size
  -  Kb in total memory
 
resident
 long resident
  -  Kb resident in memory
 
share
 long share
  -  Kb in shared memory
 
trs
 long trs
  -  text resident size
 
lrs
 long lrs
  -  library resident size
 
drs
 long drs
  -  stack resident size
 
dt
 long dt
  -  dirty
 
stateL
 String stateL
  -  long version of state
 
uid
 long uid
  -  user ID
 
gid
 long gid
  -  group ID
 
vmsize
 long vmsize
  -  total vm size
 
vmlck
 long vmlck
  -  lock size
 
vmrss
 long vmrss
  -  resident set size
 
vmdata
 long vmdata
  -  data size
 
vmstk
 long vmstk
  -  stack size
 
vmexe
 long vmexe
  -  exe size
 
vmlib
 long vmlib
  -  library size
 
stat
 String stat[]
statm
 String statm[]
status
 String status[]
sockets
 Vector sockets
Sockets
 Vector Sockets
files
 Vector files
pipes
 Vector pipes
devices
 Vector devices
uptime
 double uptime
HZ
 int HZ
MemTotal
 long MemTotal
MemUsage
 float MemUsage
  
Process
 public Process(String pid)
  
 static void ()
getSockets
 public Vector getSockets()
  -  return a vector of sockets associated with this process (tcp,udp,raw,stream/unix)
 
getFiles
 public Vector getFiles()
  -  return a vector of file names associated with this process (mypaper.txt)
 
getPipes
 public Vector getPipes()
  -  return a vector of pipes associated with this process (thread communication, or real pipes ala IPC)
 
getDevices
 public Vector getDevices()
  -  return a vector of devices associated with this process (/dev/ttyS1)
 
getCpuUsage
 public float getCpuUsage()
  -  cpu usage howmany cycles has a process used since it's been running
 
getHZ
 private int getHZ()
  -  this tells us howmany ticks per second, we take the number of calls to the timer interupt and devide it by uptime
 
getUptime
 private double getUptime()
  -  this tells us howmany seconds the system has been running
 
getMemTotal
 private long getMemTotal()
  -  this gets the total system memory, w/o swap added in but will only parse once
 
getMemUsage
 public float getMemUsage()
  -  this matches what ps.c had for determineing memory usage.
 
toString
 public String toString()
  -  this get called by System.out.println(process) makes debuging eaiser.
  
    -  Overrides:
    
 -  toString in class Object
  
 
 
 
update
 public void update()
  -  this is a method that will update a processes information
 
readlink
 private native String readlink(String filename)
  -  method to get accurate symbolic links
 
getpagesize
 private native int getpagesize()
  -  method to get system page size
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index