We want to run our applications ( process ) only on the **first 6 CPUs**. We have a RHEL machine.

We have physical DELL machine with total 12 cores (from `lscpu`)

Is it possible to assign the process to use only the first 6 cores?

Or other approach that mask the last 6 cores , so we can actually use only the **first 6 cores** , or decommission the last 6 cores ,

NOTE:
**the real reason for that is because we are pay licence per CORE
and if we can use half of the total cores , then we can pay only half of the price**