Changes between Version 36 and Version 37 of qcg-tools

Show
Ignore:
Timestamp:
11/26/13 22:36:49 (10 years ago)
Author:
piontek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • qcg-tools

    v36 v37  
    633633{{{ 
    634634Display information about reservations 
    635   
    636 usage: qcg-rlist [-C <period>] [-h] [-n <NOTE>] [-N] [-R] [-S <period>] [-s <status(es)>] [-v] 
    637 usage: qcg-client get_reservations [-C <period>] [-h] [-n <NOTE>] [-N] [-R] [-S <period>] [-s <status(es)>] [-v] 
    638   
    639 Options: 
    640  -C,--changed <period>                           changed in the period of time (not supported yet) 
    641  -h,--help                                       display help message 
    642  -n,--note                                       list elements with the given note 
    643  -N,--no-list                                    do not display list 
    644  -R,--report                                     display summary report. 
    645  -S,--submitted <period>                         submited in the period of time. If the status is 
    646                                                  defined the default value of the period is 1 day. 
    647  -s,--status <status(es)>                        status(es) of the job. Lack of this option is 
    648                                                  equivalent to requesting unterminated activities. 
    649  -v,--version                                    display version 
     635 
     636usage: qcg-rlist [-C <period>] [-c] [-F <format>] [-h] [-n <NOTE>] [-N] [-R] [-S <period>] [-s 
     637       <status(es)>] [-T <format>] [-t] [-v] 
     638usage: qcg-client get_reservations [-C <period>] [-c] [-F <format>] [-h] [-n <NOTE>] [-N] [-R] [-S 
     639       <period>] [-s <status(es)>] [-T <format>] [-t] [-v] 
     640 
     641Options: 
     642 -C,--changed <period>      changed in the period of time 
     643 -c,--color                 Colorize output 
     644 -F,--format <format>       columns format 
     645 -h,--help                  display help message 
     646 -n,--note <NOTE>           list elements with the given note 
     647 -N,--no-list               do not display list 
     648 -R,--report                display summary report. 
     649 -S,--submitted <period>    submited in the period of time. If the status is defined the default 
     650                            value of the period is 1 day. 
     651 -s,--status <status(es)>   status(es) of the job. Lack of this option is equivalent to requesting 
     652                            unterminated activities. 
     653 -T,--time <format>         time format 
     654 -t,--truncated             display truncated identifiers 
     655 -v,--version               display version 
     656 
    650657}}} 
    651658 
    652659'''IMPORTANT:''' For some details please see the description of the "qcg-list" command. 
    653660 
    654 List of reservation statuses: 
     661'''List of reservation statuses:''' 
    655662* ''SUBMITTED'' - reservation request was submitted to the system, 
    656663* ''RESERVED'' - resources ware reserved, but the reservation is not yet active, 
     
    665672* ''unterminated'' - any of not terminal statuses (SUBMITTED,ACTIVE,RESERVED). 
    666673 
     674'''Date display format''' 
     675 
     676User can define his own format for dates: 
     677* YY - year (4 digits) 
     678* yy - year (2 digits) 
     679* m - month (01-12) 
     680* B - name of the month 
     681* b - short name of the month 
     682* A - week day 
     683* a - short week day 
     684* d - day (01-31) 
     685* e - day (1-31) 
     686* H - hour (00-23) 
     687* k - hour (0-23) 
     688* M - minutes (00-59) 
     689* S - seconds (00-59) 
     690Default format is: "dd.MM.yy HH:mm" 
     691 
     692  
     693'''Columns format''' 
     694 
     695User can define his own format for columns. 
     696 
     697In the format one can define list of columns, their widths and alignment using the following schema:  
     698{{{ 
     699%[-]<WIDTH><COLUMN_ID> [ %[-]<WIDTH><COLUMN_ID> ] ... 
     700}}} 
     701 
     702where: 
     703* % - mandatory character starting  
     704* - optional character "minus" for the adjustment to the left 
     705* WIDTH - width of the column 
     706* COLUMN_ID - identifier of the column (see the table below). 
     707 
     708The default format is: "%-22I  %-20N  %-15T  %-15X  %-15E  %-16S  %-8H  %-5C  %-20D" 
     709 
     710'''List of displayed columns:''' 
     711||= Column =||= Format Identifier =|| Meaning =|| 
     712|| IDENTIFIER || I ||reservation identifier || 
     713|| NOTE || N ||value of the #QCG note directive || 
     714|| SUBMISSION TIME || T || time when the task was submitted to the system || 
     715|| START TIME || X || estimated (if known) of real start time || 
     716|| FINISH TIME || E ||time when the task has been finished 
     717|| STATUS || S ||task status || 
     718|| HOSTNAME || H || name of the cluster which the task is or was executed on || 
     719|| SLOTS || C || Number of slots || 
     720|| STATUS DESCRIPTION || D || human readable description (reason) of the status. Should be present for FAILED status || 
     721 
     722{{{ 
     723qcg-rlist -F "%-22I  %-20N  %-15T  %-15X  %-15E  %-16S  %-8H  %-5C  %-20D" -t "dd.MM.yy HH:mm" 
     724}}} 
     725 
     726 
    667727{{{ 
    668728[plgpiontek@qcg EGI]$ qcg-rlist