258N/A#ident "%Z%%M% %I% %E% SMI" /* from SVR4 bnu:Grades 1.1 */
258N/A# The contents of this file are subject to the terms of the
919N/A# Common Development and Distribution License, Version 1.0 only
919N/A# (the "License"). You may not use this file except in compliance
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
258N/A# Grades provides a orderly means of partitioning queued jobs into
258N/A# workloads that compete amongst its own type. Workloads can be partioned
258N/A# according to size of the jobs, on a priority basis or a combination
258N/A# of both. Along with each grades is a list of users or groups that can
935N/A# use the grade, so that only select users can use the job grade.
935N/A# Partitioning of workloads is to be set by the uucp or system administrator.
493N/A# user_job_grade an ascii string that defines a
970N/A# grade for a workload partition.
970N/A# system_job_grade an ascii character, A-Z, a-z,
970N/A# with A having the higest priority
970N/A# and z with the lowest priority.
970N/A# job_size a number which is the maximum limit
970N/A# of bytes that a job can have to
970N/A# be placed in the queue. There are
970N/A# shorthand expressions that can be used
705N/A# to code the job_size field. K, M, and
963N/A# Any can used and have the meaning kilo-
963N/A# byte, megabyte, and no maximum,
810N/A# respectively. K and M must have an
493N/A# permit_type a keyword that denotes how to interpret
493N/A# the id_list is contained in this field.
910N/A# User, non-user, group, non-group are
493N/A# the only valid arguments of this field.
705N/A# id_list a list of login names or group names
705N/A# that are permitted or denied to queue
258N/A# jobs to this job grade. The list is to
1356N/A# be seperated by whitespace and terminated
1356N/A# by a newline character. The reserved word
1356N/A# Any is used permit anyone to queue to
1356N/A# a job grade if User is the permit_type.
1356N/A# Since the user job grade may be bound to more than one system job grade,
1356N/A# it is important to note that the Grades file will be searched
258N/A# sequentially for occurences of a user job grade. Since the names of
493N/A# user job grades may not be the same from system to system, we have
258N/A# reserved the names of three job grades so that the user may see some
258N/A# similiarity across different systems.
258N/A# If the Grades file does not exist or it is unreadable, then user defined
910N/A# grades will not be allowed on the system.