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?