Changes between Version 8 and Version 9 of DRM4G/AvailableCommands


Ignore:
Timestamp:
Dec 23, 2016 7:13:00 PM (5 years ago)
Author:
minondoa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DRM4G/AvailableCommands

    v8 v9  
    44{{{
    55$ 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     --dbg      Debug mode.
    17    
     6DRM4G is an open platform, which is based on GridWay Metascheduler, to define,
     7submit, and manage computational jobs. For additional information,
     8see http://meteo.unican.es/trac/wiki/DRM4G .
     9
     10Usage: drm4g [ --version ] [ --help ]
     11             <command> [ options ] [ <args>... ]
     12
     13Options:
     14    -h --help     Show help.
     15    -v --version  Show version.
     16    -d --debug    Debug mode.
     17
    1818drm4g commands are:
    1919   start       Start DRM4G daemon and ssh-agent
     
    2222   restart     Restart DRM4G daemon
    2323   clear       Start DRM4G daemon deleting all the jobs available on DRM4G
    24    conf        Configure the DRM4G daemon, scheduler and logger parameters
     24   conf        Configure DRM4G daemon, scheduler and logger parameters
    2525   resource    Manage computing resources
    26    id          Manage resource identities
     26   id          Manage reosurce identities
    2727   host        Print information about the hosts
    2828   job         Submit, get status and history and cancel jobs
    2929
    30  See 'drm4g --help <command>' for more information on a specific command.
     30See 'drm4g <command> --help' for more information on a specific command.
    3131}}}
    3232
     
    3434
    3535{{{
    36 Start DRM4G's daemon and ssh-agent. 
    37    
    38 Usage: 
    39     drm4g start [ --dbg ]
    40    
    41 Options:
    42     --dbg    Debug mode.
     36Start DRM4G's daemon and ssh-agent.
     37
     38Usage:
     39    drm4g start [ options ]
     40
     41Options:
     42   -d --debug    Debug mode..
    4343}}}
    4444
    4545`stop`:
    4646{{{
    47 Stop the DRM4G's daemon and ssh-agent. 
    48    
    49 Usage:
    50     drm4g stop [ --dbg ]
    51    
    52 Options:
    53     --dbg    Debug mode.
    54 
     47Stop DRM4G's daemon and ssh-agent.
     48
     49Usage:
     50    drm4g stop [ options ]
     51
     52Options:
     53   -d --debug    Debug mode.
    5554}}}
    5655
    5756`status`:
    5857{{{
    59 Check DRM4G's daemon and ssh-agent.   
    60                
    61 Usage: 
    62     drm4g status [ --dbg ]
    63            
    64 Options:   
    65     --dbg    Debug mode.
     58Check DRM4G's daemon and ssh-agent.
     59
     60Usage:
     61    drm4g status [ options ]
     62
     63Options:
     64   -d --debug    Debug mode
    6665}}}
    6766
    6867`clear`:
    6968{{{
    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.
     69Restart DRM4G's daemon deleting all the jobs available on DRM4G.
     70
     71Usage:
     72    drm4g clear [ options ]
     73
     74Options:
     75   -d --debug    Debug mode.
    7776}}}
    7877
     
    8180{{{
    8281Restart DRM4G's daemon.
    83                
    84 Usage: 
    85     drm4g restart [ --dbg ]
    86            
    87 Options:   
    88     --dbg    Debug mode.
     82
     83Usage:
     84    drm4g [ options ] restart
     85
     86Options:
     87   -d --debug    Debug mode.
    8988}}}
    9089
     
    9291{{{
    9392Configure 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
     94Usage:
     95   drm4g conf ( daemon | sched | logger ) [ options ]
     96
     97Options:
     98   -d --debug    Debug mode
    10099}}}
    101100
     
    103102{{{
    104103Manage computing resources on DRM4G.
    105    
    106 Usage: 
     104
     105Usage:
    107106    drm4g resource [ list [ --all ] | edit | check | create | destroy ] [ options ]
    108    
     107
    109108 Options:
    110     --dbg     Debug mode.
    111     --all     Lists all of the created resources.
    112    
     109    -d --debug    Debug mode.
     110    --all         Lists all of the created resources.
     111
    113112Commands:
    114     list      Show resources available.   
    115     edit      Configure resources.
    116     check     Check if configured resources are accessible.
    117     create    Create new virtual machines
    118     destroy   Delete all virtual machines
     113    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
    119118}}}
    120119
     
    123122{{{
    124123Print information about the hosts available on DRM4G.
    125      
    126 Usage: 
    127     drm4g host [ list ] [ --dbg ] [ <hid> ]
    128    
     124
     125Usage:
     126    drm4g [ options ] host [ list ] [ <hid> ]
     127
    129128Arguments:
    130129    <hid>         Host identifier.
    131130
    132131Options:
    133     --dbg         Debug mode.       
    134  
     132    -d --debug         Debug mode.
     133
    135134Host field information:
    136     HID           Host identifier.
    137     ARCH          Architecture.
     135    HID           Host identifier.
     136    ARCH          Architecture.
    138137    JOBS(R/T)     Number of jobs: R = running, T = total.
    139     LRMS          Local Resource Management System.
     138    LRMS          Local Resource Management System.
    140139    HOSTNAME      Host name.
    141140    QUEUENAME     Queue name.
    142     WALLT         Queue wall time.
    143     CPUT          Queue cpu time.
     141    WALLT         Queue wall time.
     142    CPUT          Queue cpu time.
    144143    MAXR          Max. running jobs.
    145     MAXQ          Max. queued jobs.
     144    MAXQ          Max. queued jobs.
    146145}}}
    147146
    148147`id`:
    149148{{{
    150 Manage identities for resources. That involves managing private/public keys 
     149Manage identities for resources. That involves managing private/public keys
    151150and grid credentials, depending on the resource configuration.
    152151
    153 Usage: 
     152Usage:
    154153    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 ]
    157156
    158157 Options:
    159158    -l --lifetime=<hours>   Duration of the identity's lifetime [default: 168].
    160     --dbg                   Debug mode.
    161    
     159    -d --debug              Debug mode.
     160
    162161Commands:
     162
    163163    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
    165165                            to modify this value. It adds the configured private
    166166                            key to a ssh-agent and creates a grid proxy using
    167167                            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
    173173                            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,
    176176                            if necessary) if grid_cert variable is defined.
    177                                  
     177
    178178    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
    181181                            myproxy server.
    182182}}}
     
    201201    --ntasks <total_tasks> Number of tasks to submit.
    202202    --dep=<job_id> ...     Define the job dependency list of the job.
    203     --dbg                  Debug mode.
    204    
     203    -d --debug             Debug mode.
     204
    205205Commands:
    206206    submit                 Command for submitting jobs.
     
    211211
    212212Job field information:
    213     JID                    Job identification.
     213    JID                    Job identification.
    214214    DM                     Dispatch Manager state, one of the following: pend, hold, prol, prew, wrap, epil, canl, stop, migr, done, fail.
    215215    EM                     Execution Manager state: pend, susp, actv, fail or done.
    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.
     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.
    221221    TEMPLATE               Filename of the job template used for this job.
    222     HOST                   Hostname where the job is being executed.
    223     HID                    Host identification.
    224     PROLOG                 Total prolog (file stage-in phase) time.
     222    HOST                   Hostname where the job is being executed.
     223    HID                    Host identification.
     224    PROLOG                 Total prolog (file stage-in phase) time.
    225225    WRAPPER                Total wrapper (execution phase) time.
    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 }}}
     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}}}