Skip to content

systemslab context set-priority ​

Description Change the scheduling priority of every experiment in a context.
Usage systemslab context set-priority <CONTEXT> <PRIORITY>

Description ​

The systemslab context set-priority command changes the scheduling priority of every experiment in a context that has not finished. Higher priorities are scheduled first. Finished experiments are left alone.

Queued runs of those experiments move to their new place right away. They keep the time they were queued at, so among queued runs of the same priority they keep their order. Later runs of those experiments, including retries, also use the new priority. Experiments attached to the context afterwards keep the priority they were submitted with.

Options ​

OptionDefaultDescription
<CONTEXT>The context to change.
<PRIORITY>The new priority. May be negative.

Examples ​

Let the rest of a large sweep wait behind other work:

sh
systemslab context set-priority 0186c3a2-e0e2-70c4-fd58-05a0bbeb3cb9 -5

Common Options ​

OptionDefaultDescription
--systemslab-url The URL at which to access the systemslab server.
--colorauto Controls when color is used in the output. Possible values are auto, always, and never.
--output-formatlong Output format to use when outputting messages. long will result output designed to be human-readable while short is short output meant to be used within scripts.

Environment Variables ​

VariableDescription
SYSTEMSLAB_URLSpecify the URL used to contact the SystemsLab server. Equivalent to --systemslab-url.