Uploaded image for project: 'Pegasus'
  1. Pegasus
  2. PM-1227

pegasus-status should provide a list of active and recent workflows

XMLWordPrintable

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major Major
    • master, 5.1.0
    • Affects Version/s: master, 4.8.4
    • Component/s: None
    • None

      A nice improvement would be to have pegasus-status list currently active workflows as well as recently active ones.

      Currently I list active ones with a simple grep on the work dir. For example:

      $ pegasus-status | grep /local-scratch
      Run 16:56:40 designsafe-0 ( /local-scratch/rynge/workflows/20171103112525/20171103112525 )
      Run 16:56:40 pgen-genomicvariations-0 ( /local-scratch/rynge/pgen/20171106-174855/wf-20171106-174855 )

      For the recent ones, we should be able to do a simple query against ~/.pegasus/workflow.db (actually, this would probably be the way to get the active ones as well).

      I suggest some brain storming during one of our dev meetings on what the cli would be. For example, should the default be a list of workflows and high level status from the db (similar to what condor_status does now), and a command line flag to enable full output of the jobs. Or the other way around?

            Assignee:
            vahi Karan Vahi
            Reporter:
            rynge Mats Rynge
            Watchers:
            2 Start watching this issue

              Created:
              Updated: