commands
Class kill

java.lang.Object
  extended by java.lang.Thread
      extended by kernel.AbstractProcess
          extended by commands.kill
All Implemented Interfaces:
java.lang.Runnable, IProcess

public class kill
extends AbstractProcess

Terminates one or more processes according to the given PIDs.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
kill()
           
 
Method Summary
 java.lang.String getHelp()
          Provides full description of the command to be used in the MAN command.
 void realization()
          Realizes the KILL command.
 
Methods inherited from class kernel.AbstractProcess
enableStdIn, equals, exec, getArgs, getCommand, getCurrentPath, getErrOut, getFirstChild, getID, getIn, getKernel, getNext, getOut, getParent, getParentCurrentPath, getParentShell, getPrevious, getServices, init, init, kill, printError, run, setCurrentPath, setErrOut, setFirstChild, setIn, setNext, setOut, setParentCurrentPath, setPrevious, toString
 
Methods inherited from class java.lang.Thread
activeCount, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, checkAccess, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yield
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

kill

public kill()
Method Detail

getHelp

public java.lang.String getHelp()
Provides full description of the command to be used in the MAN command.

Returns:
Full description of the command including the syntax.

realization

public void realization()
                 throws AppException
Realizes the KILL command.

Throws:
AppException - Exception caused by an error in the virtual machines manager.