Compaq SC RMS Server User Manual


 
rcontrol(1)
The timelimit attribute specifies the maximum time in seconds for which CPUs can be
allocated on the partition. On expiry of the time limit, jobs will be sent the signal
SIGXCPU. If they have not exited within a grace period, they will be killed. The grace
period for a site is defined in the attributes table (attribute name grace-period).
Its default value is 60 seconds.
The timeslice attribute specifies the period in seconds for which jobs are allocated
CPUs before the CPUs may be reallocated to another job of equal priority. The default
value for timeslice is NULL, disabling time-slicing.
The memlimit attribute defines the default memory limit per CPU for applications
running on this partition. It can be overridden on a per-user or per-project basis. The
default value of memlimit is NULL, disabling memory limits unless they are set for
specific users or projects.
The mincpus attribute controls the minimum number of CPUs that may be allocated to
a job running on this partition. The default value of mincpus is 0. The maximum
number of CPUs that can be allocated is controlled on a per-user or per-project basis.
To remove a partition description from the RMS database, use rcontrol with the
remove command and the argument partition followed by the name of the partition.
You must also specify the name of the configuration since the same partition name may
appear in a number of configurations. To remove an entire configuration from the RMS
database, use rcontrol with the remove command and the argument configuration
followed by the name of the configuration.
# rcontrol remove partition = par1 configuration = night
# rcontrol remove configuration = night
Note that partitions cannot be removed while they are in use. Similarly, the nodes and
type of a partition cannot be changed while the partition is running. If the other
attributes of a partition are changed while the partition is running, the Partition
Manager is reloaded automatically so that it uses the new information for subsequent
jobs. Jobs that are already running are not affected.
Starting and Stopping Partitions
To start a partition in the active configuration, use rcontrol with the start command
and the partition argument followed by the name of the partition. To start all of the
partitions in a configuration, use rcontrol with the start command and the
configuration argument followed by the name of the configuration. A configuration is
made active by starting it in this way.
# rcontrol start partition = par1
# rcontrol start configuration = day
5-24 RMS Commands