runclass(1) — Commands
NAME
runclass − Runs a command in a specific scheduling class
SYNOPSIS
/usr/sbin/runclass class_name command [argument ...]
OPERANDS
argument
An argument to the command being run.
class_name
The name of the scheduling class in which the command is run.
command
The command being run.
DESCRIPTION
The runclass utility lets you run a command (including any of its arguments) 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 allotted 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 application so that its processes automatically start up in a scheduling class.
The runclass command changes the process group of itself and all processes created by it. This means that if runclass is executed from a script, entering Control C from the terminal will not kill these processes. In this case, using the kill command is required.
SEE ALSO
Commands: kill(1), class_admin(8)
Files: class_scheduling(4)