Appearance
systemslab experiment set-priority
| Description | Change the scheduling priority of an experiment. |
|---|---|
| Usage | systemslab experiment set-priority <EXPERIMENT> <PRIORITY> |
Description
The systemslab experiment set-priority command changes the scheduling priority of an experiment that has not finished. Higher priorities are scheduled first.
If a run of the experiment is waiting in the queue, it moves to its new place right away. It keeps the time it was queued at, so among queued runs of the same priority it keeps its order. Later runs of the experiment, including retries, also use the new priority.
Changing the priority of a finished experiment is an error.
Options
| Option | Default | Description |
|---|---|---|
<EXPERIMENT> | The experiment to change. | |
<PRIORITY> | The new priority. May be negative. Experiments are submitted with priority 0 unless the spec or systemslab submit --priority says otherwise. |
Examples
Move a queued experiment ahead of work submitted at the default priority:
sh
systemslab experiment set-priority 0186c3a6-301f-71c1-7ace-69a99ff0e1bc 10Common Options
| Option | Default | Description |
|---|---|---|
--systemslab-url | The URL at which to access the systemslab server. | |
--color | auto | Controls when color is used in the output. Possible values are auto, always, and never. |
--output-format | long | 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
| Variable | Description |
|---|---|
SYSTEMSLAB_URL | Specify the URL used to contact the SystemsLab server. Equivalent to --systemslab-url. |