get cpu affinity

Q. How do I use Linux (RHEL) taskset command to set or get the CPU affinity of a running process given its PID or to launch a new COMMAND with a given CPU affinity? A. You need to use taskset command. CPU affinity is a scheduler property that “bonds” a process to a given set […]

{ 3 comments }