The *taskset* command is used to set or retrieve the CPU affinity of a running process given its _pid_, or to launch a new _command_ with a given CPU affinity. CPU affinity is a scheduler property that "bonds" a process to a given set of CPUs on the system. The Linux scheduler will honor the given CPU affinity and the process will not run on any other CPUs. Note that the Linux scheduler also supports natural CPU affinity: the scheduler attempts to keep processes on the same CPU as long as practical for performance reasons. Therefore, forcing a specific CPU affinity is useful only in certain applications. The affinity of some processes like kernel per-CPU threads cannot be set.
-The CPU affinity is represented as a bitmask, with the lowest order bit corresponding to the first logical CPU and the highest order bit corresponding to the last logical CPU. Not all CPUs may exist on a given system but a mask may specify more CPUs than are present. A retrieved mask will reflect only the bits that correspond to CPUs physically on the system. If an invalid mask is given (i.e., one that corresponds to no valid CPUs on the current system) an error is returned. The masks may be specified in hexadecimal (with or without a leading "0x"), or as a CPU list with the *--cpu-list* option. For example,
+The CPU affinity is represented as a bit mask, with the lowest order bit corresponding to the first logical CPU and the highest order bit corresponding to the last logical CPU. Not all CPUs may exist on a given system but a mask may specify more CPUs than are present. A retrieved mask will reflect only the bits that correspond to CPUs physically on the system. If an invalid mask is given (i.e., one that corresponds to no valid CPUs on the current system) an error is returned. The masks may be specified in hexadecimal (with or without a leading "0x"), or as a CPU list with the *--cpu-list* option. For example,
*0x00000001*::
is processor #0,
Set or retrieve the CPU affinity of all the tasks (threads) for a given PID.
*-c*, *--cpu-list*::
-Interpret _mask_ as numerical list of processors instead of a bitmask. Numbers are separated by commas and may include ranges. For example: *0,5,8-11*.
+Interpret _mask_ as numerical list of processors instead of a bit mask. Numbers are separated by commas and may include ranges. For example: *0,5,8-11*.
*-p*, *--pid*::
Operate on an existing PID and do not launch a new task.
Set the owner and group of all files. (Default: the UID and GID of the current process.)
**umask=**__value__::
-Set the umask (the bitmask of the permissions that are *not* present). The default is the umask of the current process. The value is given in octal.
+Set the umask (the bit mask of the permissions that are *not* present). The default is the umask of the current process. The value is given in octal.
**dmask=**__value__::
Set the umask applied to directories only. The default is the umask of the current process. The value is given in octal.
Set the owner and group of all files. (Default: the UID and GID of the current process.)
**umask=**__value__::
-Set the umask (the bitmask of the permissions that are *not* present). The default is the umask of the current process. The value is given in octal.
+Set the umask (the bit mask of the permissions that are *not* present). The default is the umask of the current process. The value is given in octal.
*case=*{**lower**|*asis*}::
Convert all files names to lower case, or leave them. (Default: *case=lower*.)