Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-31-2008, 07:48 AM   #1
Registered: Jun 2004
Posts: 31

Rep: Reputation: 15
[SOLVED] How can you force a program/process to run on a specific CPU core?

Having a quad core processor, when I launch a program/process, I always want it to run on a specific core, is there a way to over-ride the scheduler that does this?



Last edited by icedfusion; 12-31-2008 at 10:11 AM.
Old 12-31-2008, 09:33 AM   #2
Senior Member
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Originally Posted by icedfusion View Post
Is there a way to over-ride the scheduler that does this?
Install the "schedutils" package and use "taskset".
Old 12-31-2008, 10:10 AM   #3
Registered: Jun 2004
Posts: 31

Original Poster
Rep: Reputation: 15
Cheers for that. Just what I was looking for.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Command to run program on a specific display? thecake Linux - Newbie 1 12-16-2008 02:55 PM
Way to force a specific value for system uptime? soliax Linux - Kernel 8 09-10-2008 12:18 AM
Boot with 'acpi=no'-Ubuntu shows one core,normal boot-kacpid process is eating 70%CPU WebEyeX Ubuntu 5 05-18-2008 06:48 AM
Intel DG33FB motherboard - cannot run second core on cpu (core 2 duo) rmitev Linux - Enterprise 2 09-28-2007 04:54 AM
run program automatically at specific time simon_qwl Programming 2 03-20-2005 10:58 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration