LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-16-2011, 02:10 PM   #1
ariabbas
LQ Newbie
 
Registered: Apr 2010
Posts: 4

Rep: Reputation: 0
Smile Unix command that allows to know which process is running on processor core


De L'aide !!!!
Je cherche une commande Unix qui permet de connaitre quel processus s'execute sur quel coeur d'un processeur multicoeur
Thanks
 
Old 03-16-2011, 02:15 PM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

I've been 'spanked' by a mod some time ago for being polite and responding in another language than English so I'll only post here in English to avoid that same mod 'spanking' me again.

The only language accepted in this community is English. Please translate your question/problem to English.

Kind regards,

Eric
 
Old 03-16-2011, 02:23 PM   #3
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Code:
ps -F ax
look at the header "PSR" to see which processor it is running on.

Code:
UID        PID  PPID  C    SZ   RSS PSR STIME TTY      STAT   TIME CMD
root         1     0  0   719  1264   0 09:56 ?        Ss     0:00 /sbin/init
root         2     0  0     0     0   1 09:56 ?        S      0:00 [kthreadd]

Last edited by szboardstretcher; 03-16-2011 at 02:27 PM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Get process running CPU core and the utilisation on that core... chamila1986 Programming 5 04-28-2010 05:00 PM
Need to find which processor is running a process demosp Linux - General 3 11-06-2007 07:34 PM
Getting core id, physical id of running process debrajde Linux - Hardware 1 07-29-2007 03:17 AM
Getting core id, physical id of running process debrajde Programming 0 07-28-2007 11:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:46 PM.

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