IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 2 and Version 3 of pantasks_controller_interactions


Ignore:
Timestamp:
Oct 4, 2012, 1:13:43 PM (14 years ago)
Author:
eugene
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pantasks_controller_interactions

    v2 v3  
    2626
    2727check on the status of a single job or host.  the jobID or hostID is
    28 an integer value [1].  The return is a block of information giving the
     28an integer value^1^.  The return is a block of information giving the
    2929status and some other infomation. 
    3030
     
    4848where:
    4949
    50  * (status) is one of PENDING, BUSY, DONE, EXIT, CRASH
    51  * (Nexit) is the exit status of the command (ie, as if it were run on
    52         the UNIX command line).
    53  *(Nbytes) is the size of the standard out and standard error buffers
    54          from the job
    55  *(elapsed time) is the number of seconds it took to run the command;
    56          this is only set on exit.
     50  * (status) is one of PENDING, BUSY, DONE, EXIT, CRASH
     51  * (Nexit) is the exit status of the command (ie, as if it were run on the UNIX command line).
     52  * (Nbytes) is the size of the standard out and standard error buffers from the job
     53  * (elapsed time) is the number of seconds it took to run the command; this is only set on exit.
    5754
    5855 * exit
     
    10198  * IDLE : machines which are currently unoccupied with processing
    10299  * BUSY : machines which are currently active
    103   * RESP : machines which are currently active and responding to
    104            another command
    105   * DONE : machines which have completed a job, but are not yet ready
    106            to accept a new job.
    107   * DOWN : machines which are currently unresponsive (pcontrol will
    108            try to reconnect after an interval)
     100  * RESP : machines which are currently active and responding to another command
     101  * DONE : machines which have completed a job, but are not yet ready to accept a new job.
     102  * DOWN : machines which are currently unresponsive (pcontrol will try to reconnect after an interval)
    109103  * OFF  : machines which are currently off (pcontrol will not try to reconnect)
    110104
     
    119113  * BUSY    : job is running on a host
    120114  * RESP    : job is running on a host, and responding to another command
    121   * DONE    : job has finished, but its completion state has not yet
    122               been assessed
     115  * DONE    : job has finished, but its completion state has not yet been assessed
    123116  * EXIT    : job finished with a valid exit status (ie, no abort or segfault)
    124117  * CRASH   : job aborted or segfaulted
    125118  * KILL    : kill has been requested for the job
    126119
    127 * machines : list the status of the hosts by unique machine name.
     120 * machines : list the status of the hosts by unique machine name.
    128121  This command is one of the few which work with the multiple
    129122  connections to a single named machine as the same connection.  The
     
    155148 * run : set the run level for the controller.  the command is of the
    156149   form "run (level)".  pcontrol may be in one of 4 run levels:
    157    * all : all normal pcontrol ops (this is aslo set with no optional
    158            argument to the run command).
    159    * reap : keep the machines running (maintain comms and turn on/off
    160             as needed) and harvest results from jobs, but do not spawn
    161             new jobs.
    162    * hosts : manage the machines, but do not manage jobs (spawn or
    163              harvest).
     150   * all : all normal pcontrol ops (this is aslo set with no optional argument to the run command).
     151   * reap : keep the machines running (maintain comms and turn on/off as needed) and harvest results from jobs, but do not spawn new jobs.
     152   * hosts : manage the machines, but do not manage jobs (spawn or harvest).
    164153   * none  : stop all pcontrol processing
    165154
    166  * status : report the current status of the controller: list all
    167    known jobs and all known hosts, giving their status.
     155 * status : report the current status of the controller: list all known jobs and all known hosts, giving their status.
    168156
    169157 * stop : stop all pcontrol processing (equivalent to "run none")
    170158
    171  * verbose : turn on verbose mode for pcontrol (output to pcontrol.log
    172    or use "controller output").
     159 * verbose : turn on verbose mode for pcontrol (output to pcontrol.log or use "controller output").
    173160
    174161 * version : print version info for pcontrol
    175162
    176  * pulse : in non-threaded pcontrol mode (deprecated), set the
    177    readline timeout.
     163 * pulse : in non-threaded pcontrol mode (deprecated), set the readline timeout.
    178164 
    179165
    180 [1] : note that the command 'controller status' includes the job and
     166^1^ : note that the command 'controller status' includes the job and^
    181167host ID values in the form X.X.X.X where X is a hexidecimal number.
    182168Unfortunately, pcontrol does not understand this format for the IDs