modify pegasus status to allow the user to control the columns displayed in the long mode.

XMLWordPrintable

      A user request from LIGO.

      For hierarchal workflows if we want to get individual status for each of the workflows, we have to invoke pegasus-status with the -l option

      For e.g.

      belix:/data/scratch/vahi/work/DART% pegasus-status -l work/2012-04-27_153851/work/vahi/pegasus/dart/run0001/

      UNRDY READY PRE IN_Q POST DONE FAIL %DONE STATE DAGNAME
      2 0 0 2 0 16 0 80.0 Failure dart_0_ID000052/dart_0-0.dag
      0 0 0 0 0 20 0 100.0 Success dart_5_ID000312/dart_5-0.dag
      2 0 0 2 0 16 0 80.0 Failure dart_4_ID000260/dart_4-0.dag
      1 0 0 1 0 18 0 90.0 Failure dart_1_ID000104/dart_1-0.dag
      2 0 0 2 0 16 0 80.0 Failure dart_2_ID000156/dart_2-0.dag
      1 0 0 1 0 18 0 90.0 Failure dart_3_ID000208/dart_3-0.dag
      0 0 0 5 0 3 1 33.3 Failure *dart-0.dag
      8 0 0 13 0 107 1 82.9 TOTALS (129 jobs)

      For the LIGO workflows the DAGNames are very long and hence the output gets wrapped around.

      Their request is to get pegasus-status to print just the full name of the dag and the percent complete.

      One way to do it is to add --display option to pegasus-status that will allow them to specify what columns they want displayed?

      The value can be a comma separated list to take in the list of columns
      the candidate values can be
      u = for unready jobs
      r = for ready jobs
      pre = in prescript
      post = in post script
      q = in queue
      done = are done
      c = percentage completed
      f = are failed
      s = the state of the workflow

            Assignee:
            Gideon Juve (Inactive)
            Reporter:
            Karan Vahi
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: