frysk.proc.dummy
Class DummyProc
java.lang.Object
frysk.proc.Proc
frysk.proc.dummy.DummyProc
- All Implemented Interfaces:
- Comparable
public class DummyProc
- extends Proc
| Methods inherited from class frysk.proc.Proc |
add, compareTo, getChildren, getHost, getMap, getParent, getPid, getTasks, remove, requestAbandon, requestAbandonAndRunEvent, requestKill, sendRefresh, toString |
DummyProc
public DummyProc(DummyHost host,
int pid)
DummyProc
public DummyProc()
getMainTask
public Task getMainTask()
- Specified by:
getMainTask in class Proc
- Returns:
- The main task for this process
XXX: Rather than getting the main task and manipulating that,
it should be possible to instead manipulate the proc - for
instance asking the proc to notify of fork/exec/clone events.
At present this is implemented by ProcBlockAction.
getCommand
public String getCommand()
- Description copied from class:
Proc
- Return the basename of the program that this process is
running.
- Specified by:
getCommand in class Proc
getExeFile
public SysRootFile getExeFile()
- Description copied from class:
Proc
- Return the SysRoot path of the program that this process is
running.
- Specified by:
getExeFile in class Proc
getUID
public int getUID()
- Description copied from class:
Proc
- Return the UID of the Proc.
- Specified by:
getUID in class Proc
getGID
public int getGID()
- Description copied from class:
Proc
- Return the GID of the Proc.
- Specified by:
getGID in class Proc
getCmdLine
public String[] getCmdLine()
- Description copied from class:
Proc
- Return the Proc's command line argument list
- Specified by:
getCmdLine in class Proc
getMaps
public MemoryMap[] getMaps()
- Specified by:
getMaps in class Proc
getAuxv
public Auxv[] getAuxv()
- Description copied from class:
Proc
- The Process Auxiliary Vector.
- Specified by:
getAuxv in class Proc