runclass(1)runclass(1)NAMErunclass - Runs a command in a specific scheduling class
SYNOPSIS
/usr/sbin/runclass class_name command [argument ...]
OPERANDS
An argument to the command being run. The name of the scheduling class
in which the command is run. The command being run.
DESCRIPTION
The runclass utility lets you run a command (including any of its argu‐
ments) in a scheduling class. All the threads created by the command
process, and its subprocesses, inherit the class binding. Unless the
user entering the runclass command has superuser authority, the allot‐
ted CPU percentage of the specified class may not be higher than the
user's current class (if any).
If class scheduling is not enabled, the runclass command terminates and
does not execute the requested command.
NOTES
Scheduling classes are usually created by the class_admin command,
which also allows you to move processes to a scheduling class after
they start. The runclass command is the way you can execute an applica‐
tion so that its processes automatically start up in a scheduling
class.
The runclass command changes the process group of itself and all pro‐
cesses created by it. This means that if runclass is executed from a
script, entering Control C from the terminal will not kill these pro‐
cesses. In this case, using the kill command is required.
SEE ALSO
Commands: kill(1), class_admin(8)
Files: class_scheduling(4)runclass(1)