Class Process
java.lang.Object
|
+----Process
- public class Process
- extends Object
-
Process(String)
-
-
getCpuUsage()
- cpu usage howmany cycles has a process used since it's been running
-
getDevices()
-
-
getFiles()
-
-
getMemUsage()
- this matches what ps.c had for determineing memory usage.
-
getPipes()
-
-
getSockets()
-
-
toString()
- this get called by System.out.println(process) makes debuging eaiser.
-
update()
- this is a method that will update a processes information
Process
public Process(String pid)
getSockets
public Vector getSockets()
getFiles
public Vector getFiles()
getPipes
public Vector getPipes()
getDevices
public Vector getDevices()
getCpuUsage
public float getCpuUsage()
- cpu usage howmany cycles has a process used since it's been running
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