rcontrol(1)
#rcontrol set resource = 32 priority = 25
#rcontrol set batchid = 48 priority = 40
rcontrol can also be used to suspend, kill or resume jobs identified by their attributes.
The attributes that can be specified are: partition,project,status and user.
Attributes of the same name are ORed together,attributes with different names are
ANDed.
Forexample, to kill a job run by a user called tom on the partition par1 whether its
status is blocked or queued:
#rcontrol kill user = tom status = blocked status = queued partition = par1
Tosuspend all of the jobs belonging to the project called science:
#rcontrol suspend project = science
Managing Users, Projectsand Access Controls
In addition to managing partitions and nodes,rcontrol can be used to create, remove
and set the attributes of users, projectsand access controls. The fields table contains
details of which objects and attributes may be modified. See Section 10.2.8.
The table has seven fields: the tablename field specifies the table that will be modified;
the name field specifies whichentry in the named table will be modified; the type field
determines the rangeof valid values; the min field gives the minimum for valuesof type
integer while the max field gives the maximum; the textattr field either gives a
comma-separated list of valid values or a table-name.table-field pair. In the case
of the table-name.table-field pair,the value in the name field of the fields table
must also be present in the table named table-name in the field called table-field.
The access field specifies whether this field can be updated by the system
administrator.
Tocreate a user, use the rcontrol create command to specify the object type (in this
case, user) and the object name (for example, frank).
#rcontrol create user = frank
Toupdate an existing user record, use the rcontrol set command. For example, to
change the projects to which a user belongs, use rcontrol set followed by the object
type (in this case, user), the object name (in this example, frank), the attribute to be
changed (projects),and its new value (in this example, parallax); the new value
must already have been defined as a project.
#rcontrol set user = frank projects = parallax
RMS Commands 5-27