LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-21-2012, 06:44 AM   #1
sulekha
Member
 
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Rep: Reputation: 36
Question processor affinity


Hi all is there any graphical utility to set processor affinity in ubuntu ?

Last edited by sulekha; 08-21-2012 at 06:47 AM.
 
Old 08-22-2012, 02:57 AM   #2
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Not sure, but there is a cli utility

Code:
$ man taskset
e.g.

Code:
$ taskset 0x00000001 ./foo
Code:
$ taskset 0x00000001 -p 12345
Will make the launched process or an existing process run only on CPU0.

Last edited by cynwulf; 08-22-2012 at 02:59 AM.
 
  


Reply



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
[SOLVED] Linux and processor affinity ilesterg Linux - Hardware 3 07-10-2012 10:30 PM
Setting Processor Affinity in application grubby23 Programming 1 01-28-2010 10:40 AM
Processor Affinity vikesh.u Linux - Kernel 1 09-07-2009 12:52 PM
Can you set processor affinity on Linux? Thaidog Linux - General 1 02-27-2008 09:31 AM
Processor affinity and cpu scheduling...? Thaidog Linux - Newbie 5 01-09-2003 07:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:51 AM.

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