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 | |
| 636 | usage: qcg-rlist [-C <period>] [-c] [-F <format>] [-h] [-n <NOTE>] [-N] [-R] [-S <period>] [-s |
| 637 | <status(es)>] [-T <format>] [-t] [-v] |
| 638 | usage: 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 | |
| 641 | Options: |
| 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 | |
| 674 | '''Date display format''' |
| 675 | |
| 676 | User 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) |
| 690 | Default format is: "dd.MM.yy HH:mm" |
| 691 | |
| 692 | |
| 693 | '''Columns format''' |
| 694 | |
| 695 | User can define his own format for columns. |
| 696 | |
| 697 | In 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 | |
| 702 | where: |
| 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 | |
| 708 | The 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 | {{{ |
| 723 | qcg-rlist -F "%-22I %-20N %-15T %-15X %-15E %-16S %-8H %-5C %-20D" -t "dd.MM.yy HH:mm" |
| 724 | }}} |
| 725 | |
| 726 | |