Status

Simple Status

The status subcommand displays a summary of the computation status, for example:

  1. $ jug status
  2. Waiting Ready Finished Running Task name
  3. -------------------------------------------------------------------------
  4. 0 2 0 0 jugfile.compfeats
  5. 10 0 0 0 jugfile.nfold
  6. .........................................................................
  7. 10 2 0 0 Total

Short Status

The same status as above, now in a short version:

  1. $ jug status --short
  2. 12 tasks to be run, 0 finished, (none running).

Cached Status

If you have many tasks, then jug status can become pretty slow. One way to speed it up is to use a cache:

  1. $ jug status --cache

or:

  1. $ jug status --cache --short

The first time you run it, it will be as slow as usual as it will parse the jugfile and interrogate the store for every possible task. However, then it will save a record which will enable it to speed up the next few times.

Note: This is a fragile system, which should be used with care as the cache can easily become out of sync with the jugfile used (jugfile.py in the examples above). It is kept in jug as the speed gains can be quite spectacular (from many seconds to instantaneous).