Date: Mon, 1 Jun 2009 12:35:50 +0100 From: Andrew Brampton <brampton+freebsd@gmail.com> To: nocturnal <swehack@gmail.com> Cc: freebsd-smp@freebsd.org Subject: Re: Show which CPU is executing a thread? Message-ID: <d41814900906010435k5baf964dr22cfd2b588b1e522@mail.gmail.com> In-Reply-To: <9aed80930906010357w2bf642abk50bbadb6cdf34196@mail.gmail.com> References: <9aed80930906010357w2bf642abk50bbadb6cdf34196@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2009/6/1 nocturnal <swehack@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 Andrew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d41814900906010435k5baf964dr22cfd2b588b1e522>