How do I run an application on a particular processor?

Updated -

To run a program or command on a processor, use the taskset command.

For example, to run gimp on the second processor, execute the command taskset -p 2 gimp.

To run gimp on all the processors, execute the command taskset -p 0xFFFFFFFF gimp.

To check that this is being done correctly, use the command taskset -pc <...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content