September 2009
Beginner
942 pages
85h 34m
English
taskset
taskset [options] [mask|list] [pid|command[args]]
taskset is used to retrieve or set the processor affinity mask of either an existing process, given its PID, or to run a new a process, given its command name, with a specified affinity mask. The Linux scheduler will then honor the given affinity mask, ensuring that the process in question runs only on allowed processors.
The affinity mask is provided in list form, for example, “0,2,5-6,” not as a bitmask.
Set or retrieve the mask of the given PID. Do not start a new process.
Display usage information and then exit.
Display version information and then exit.