Results 1 to 2 of 2
Hello , I am using Kernel 220.127.116.11 I have to find on which core a particular task is running on . I am ready to modify the kernel to do ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-17-2010 #1
- Join Date
- Sep 2010
How to find which task is running on a particular core at a given intstance
I am using Kernel 18.104.22.168
I have to find on which core a particular task is running on .
I am ready to modify the kernel to do printk or some logging .
I guess there used to be 2 fields called 'processor' and 'last_processor' in task_struct in older kernels which probably had this information .
So what do I do to find out on which core a particular task is running on ?
Are there any utilities that are simple-to-use and can display the tasks that are running on each of the cores , including the cpu core info ? top , mpstat etc do not tell you on which cpu core a task is running on .
- 09-21-2010 #2
Almost positive this is impossible and that both cores simultaneously share tasks. Almost ten years of linux and I've never seen this type of softwareBodhi 1.3 & Bodhi 1.4 using E17
Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17
"The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"