Changes between Version 8 and Version 9 of DRM4G/AvailableCommands
- Timestamp:
- Dec 23, 2016 7:13:00 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DRM4G/AvailableCommands
v8 v9 4 4 {{{ 5 5 $ drm4g --help 6 DRM4G is an open platform, which is based on GridWay Metascheduler, used to define,7 submit, and manage computational jobs. For additional information, 8 see http://meteo.unican.es/trac/wiki/DRM4G .9 10 Usage: drm4g [ --version ] [ - h | --help ] [ --dbg]11 <command> [ <args>... ]12 13 Options: 14 -h --help Show help.15 - -version Show version.16 - -dbgDebug mode.17 6 DRM4G is an open platform, which is based on GridWay Metascheduler, to define, 7 submit, and manage computational jobs. For additional information, 8 see http://meteo.unican.es/trac/wiki/DRM4G . 9 10 Usage: drm4g [ --version ] [ --help ] 11 <command> [ options ] [ <args>... ] 12 13 Options: 14 -h --help Show help. 15 -v --version Show version. 16 -d --debug Debug mode. 17 18 18 drm4g commands are: 19 19 start Start DRM4G daemon and ssh-agent … … 22 22 restart Restart DRM4G daemon 23 23 clear Start DRM4G daemon deleting all the jobs available on DRM4G 24 conf Configure theDRM4G daemon, scheduler and logger parameters24 conf Configure DRM4G daemon, scheduler and logger parameters 25 25 resource Manage computing resources 26 id Manage re source identities26 id Manage reosurce identities 27 27 host Print information about the hosts 28 28 job Submit, get status and history and cancel jobs 29 29 30 See 'drm4g --help <command>' for more information on a specific command.30 See 'drm4g <command> --help' for more information on a specific command. 31 31 }}} 32 32 … … 34 34 35 35 {{{ 36 Start DRM4G's daemon and ssh-agent. 37 38 Usage: 39 drm4g start [ --dbg ]40 41 Options: 42 --dbg Debug mode.36 Start DRM4G's daemon and ssh-agent. 37 38 Usage: 39 drm4g start [ options ] 40 41 Options: 42 -d --debug Debug mode.. 43 43 }}} 44 44 45 45 `stop`: 46 46 {{{ 47 Stop the DRM4G's daemon and ssh-agent. 48 49 Usage: 50 drm4g stop [ --dbg ] 51 52 Options: 53 --dbg Debug mode. 54 47 Stop DRM4G's daemon and ssh-agent. 48 49 Usage: 50 drm4g stop [ options ] 51 52 Options: 53 -d --debug Debug mode. 55 54 }}} 56 55 57 56 `status`: 58 57 {{{ 59 Check DRM4G's daemon and ssh-agent. 60 61 Usage: 62 drm4g status [ --dbg ]63 64 Options: 65 --dbg Debug mode.58 Check DRM4G's daemon and ssh-agent. 59 60 Usage: 61 drm4g status [ options ] 62 63 Options: 64 -d --debug Debug mode 66 65 }}} 67 66 68 67 `clear`: 69 68 {{{ 70 Restart DRM4G's daemon deleting all the jobs available on DRM4G. 71 72 Usage: 73 drm4g clear [ --dbg ]74 75 Options: 76 --dbg Debug mode.69 Restart DRM4G's daemon deleting all the jobs available on DRM4G. 70 71 Usage: 72 drm4g clear [ options ] 73 74 Options: 75 -d --debug Debug mode. 77 76 }}} 78 77 … … 81 80 {{{ 82 81 Restart DRM4G's daemon. 83 84 Usage: 85 drm4g restart [ --dbg ]86 87 Options: 88 --dbg Debug mode.82 83 Usage: 84 drm4g [ options ] restart 85 86 Options: 87 -d --debug Debug mode. 89 88 }}} 90 89 … … 92 91 {{{ 93 92 Configure DRM4G's daemon, scheduler and logger parameters. 94 95 Usage: 96 drm4g conf ( daemon | sched | logger ) [ --dbg]97 98 Options: 99 --dbg Debug mode.93 94 Usage: 95 drm4g conf ( daemon | sched | logger ) [ options ] 96 97 Options: 98 -d --debug Debug mode 100 99 }}} 101 100 … … 103 102 {{{ 104 103 Manage computing resources on DRM4G. 105 106 Usage: 104 105 Usage: 107 106 drm4g resource [ list [ --all ] | edit | check | create | destroy ] [ options ] 108 107 109 108 Options: 110 - -dbgDebug mode.111 --all Lists all of the created resources.112 109 -d --debug Debug mode. 110 --all Lists all of the created resources. 111 113 112 Commands: 114 list Show resources available.115 edit Configure resources.116 check Check if configured resources are accessible.117 create Create new virtual machines118 destroy Delete all virtual machines113 list Show resources available. 114 edit Configure resouces. 115 check Check if configured resources are accessible. 116 create Create new virtual machines 117 destroy Delete all virtual machines 119 118 }}} 120 119 … … 123 122 {{{ 124 123 Print information about the hosts available on DRM4G. 125 126 Usage: 127 drm4g host [ list ] [ --dbg ] [ <hid> ]128 124 125 Usage: 126 drm4g [ options ] host [ list ] [ <hid> ] 127 129 128 Arguments: 130 129 <hid> Host identifier. 131 130 132 131 Options: 133 - -dbg Debug mode.134 132 -d --debug Debug mode. 133 135 134 Host field information: 136 HID 137 ARCH 135 HID Host identifier. 136 ARCH Architecture. 138 137 JOBS(R/T) Number of jobs: R = running, T = total. 139 LRMS 138 LRMS Local Resource Management System. 140 139 HOSTNAME Host name. 141 140 QUEUENAME Queue name. 142 WALLT 143 CPUT 141 WALLT Queue wall time. 142 CPUT Queue cpu time. 144 143 MAXR Max. running jobs. 145 MAXQ 144 MAXQ Max. queued jobs. 146 145 }}} 147 146 148 147 `id`: 149 148 {{{ 150 Manage identities for resources. That involves managing private/public keys 149 Manage identities for resources. That involves managing private/public keys 151 150 and grid credentials, depending on the resource configuration. 152 151 153 Usage: 152 Usage: 154 153 drm4g id <resource_name> init [ options ] [ --lifetime=<hours> ] 155 drm4g id <resource_name> info [ options ] 156 drm4g id <resource_name> delete [ options ] 154 drm4g id <resource_name> info [ options ] 155 drm4g id <resource_name> delete [ options ] 157 156 158 157 Options: 159 158 -l --lifetime=<hours> Duration of the identity's lifetime [default: 168]. 160 - -dbgDebug mode.161 159 -d --debug Debug mode. 160 162 161 Commands: 162 163 163 init Create an identity for a certain period of time, by 164 default 168 hours (1 week). Use the option --lifetime 164 default 168 hours (1 week). Use the option --lifetime 165 165 to modify this value. It adds the configured private 166 166 key to a ssh-agent and creates a grid proxy using 167 167 myproxy server. 168 It appends the public key to the remote user's 169 ~/.ssh/authorized_keys file (creating the file, and 170 directory, if necessary). It tries to load the public 171 key obtained by appending *.pub to the name of the 172 configured private key file. Alternative the public 168 It appends the public key to the remote user's 169 ~/.ssh/authorized_keys file (creating the file, and 170 directory, if necessary). It tries to load the public 171 key obtained by appending *.pub to the name of the 172 configured private key file. Alternative the public 173 173 key can be given by public_key variable. 174 It also configures the user's grid certificate 175 under ~/.globus directory (creating directory, 174 It also configures the user's grid certificate 175 under ~/.globus directory (creating directory, 176 176 if necessary) if grid_cert variable is defined. 177 177 178 178 info Get some information about the identity's status. 179 180 delete Remove the identity from the ssh-agent and the 179 180 delete Remove the identity from the ssh-agent and the 181 181 myproxy server. 182 182 }}} … … 201 201 --ntasks <total_tasks> Number of tasks to submit. 202 202 --dep=<job_id> ... Define the job dependency list of the job. 203 - -dbgDebug mode.204 203 -d --debug Debug mode. 204 205 205 Commands: 206 206 submit Command for submitting jobs. … … 211 211 212 212 Job field information: 213 JID 213 JID Job identification. 214 214 DM Dispatch Manager state, one of the following: pend, hold, prol, prew, wrap, epil, canl, stop, migr, done, fail. 215 215 EM Execution Manager state: pend, susp, actv, fail or done. 216 START 217 END 218 EXEC 219 XFER 220 EXIT 216 START The time the job entered the system. 217 END The time the job reached a final state (fail or done). 218 EXEC Total execution time, includes suspension time in the remote queue system. 219 XFER Total file transfer time, includes stage-in and stage-out phases. 220 EXIT Job exit code. 221 221 TEMPLATE Filename of the job template used for this job. 222 HOST 223 HID 224 PROLOG 222 HOST Hostname where the job is being executed. 223 HID Host identification. 224 PROLOG Total prolog (file stage-in phase) time. 225 225 WRAPPER Total wrapper (execution phase) time. 226 EPILOG 227 MIGR 228 REASON 229 QUEUE 230 }}} 226 EPILOG Total epilog (file stage-out phase) time. 227 MIGR Total migration time. 228 REASON The reason why the job left this host. 229 QUEUE Queue name. 230 }}}