Show which CPU is executing a thread?
brampton+freebsd at gmail.com
Mon Jun 1 12:03:23 UTC 2009
2009/6/1 nocturnal <swehack at gmail.com>:
> I've been searching the web, all i want is to show which CPU is currently
> executing a certain thread. Is this info available to me in user space?
> Which manuals should i read to do this?
> I know Solaris has something about lwp that can show the last CPU used, i
> think. I would be happy if FreeBSD had something similar so it doesn't have
> to be very live or accurate.
> Thank you in advance for any info or hints.
Does top and the -H flag not do what you want?
There is also ps -H
Hope this helps
More information about the freebsd-smp