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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.