Changes between Version 2 and Version 3 of pantasks_controller_interactions
- Timestamp:
- Oct 4, 2012, 1:13:43 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pantasks_controller_interactions
v2 v3 26 26 27 27 check 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 the28 an integer value^1^. The return is a block of information giving the 29 29 status and some other infomation. 30 30 … … 48 48 where: 49 49 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. 57 54 58 55 * exit … … 101 98 * IDLE : machines which are currently unoccupied with processing 102 99 * 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) 109 103 * OFF : machines which are currently off (pcontrol will not try to reconnect) 110 104 … … 119 113 * BUSY : job is running on a host 120 114 * 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 123 116 * EXIT : job finished with a valid exit status (ie, no abort or segfault) 124 117 * CRASH : job aborted or segfaulted 125 118 * KILL : kill has been requested for the job 126 119 127 * machines : list the status of the hosts by unique machine name.120 * machines : list the status of the hosts by unique machine name. 128 121 This command is one of the few which work with the multiple 129 122 connections to a single named machine as the same connection. The … … 155 148 * run : set the run level for the controller. the command is of the 156 149 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). 164 153 * none : stop all pcontrol processing 165 154 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. 168 156 169 157 * stop : stop all pcontrol processing (equivalent to "run none") 170 158 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"). 173 160 174 161 * version : print version info for pcontrol 175 162 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. 178 164 179 165 180 [1] : note that the command 'controller status' includes the job and 166 ^1^ : note that the command 'controller status' includes the job and^ 181 167 host ID values in the form X.X.X.X where X is a hexidecimal number. 182 168 Unfortunately, pcontrol does not understand this format for the IDs
