Download Maui Administrator`s Guide - Adaptive Computing Documentation

Transcript
setspri
setspri PRIORITY [ -r ] JOB
Purpose
Set or remove and absolute or relative system priority on a specified job.
Permissions
This command can be run by any Maui Scheduler Administrator.
Parameters
JOB
Name of job.
PRIORITY System priority level. By default, this priority is an absolute priority overriding
the policy generated priority value. Range is 0 to clear, 1 for lowest, 1000 for
highest. If the '-r' flag is specified, the system priority is relative, adding or
subtracting the specified value from the policy generated priority. If a relative
priority is specified, any value in the range +/- 1000000000 is acceptable.
Flags
-h Help for this command.
-r Set relative system priority on job.
Description
This command allows you to set or remove a system priority level for a specified job. Any
job with a system priority level set is guaranteed a higher priority than jobs without a system
priority. Jobs with higher system priority settings have priority over jobs with lower system
priority settings.
Example 1
% setspri 10 fr13n03.24.0
Job System Priority Adjusted
In this example, a system priority of 10 is set for job fr13n03.24.0.
Example 2