Re: Determining if the current processor is Hyperthreaded

Bill Davidsen
2005-08-02T17:51:38Z

Athul Acharya wrote:
> Hey folks,
>
> Is there a quick way to determine if the current processor is
> Hyperthreaded, and if so, which logical processor represents the other
> thread on the chip? Please cc replies to me as I am not subscribed to
> the list :-)

Look at /proc/cpuinfo and see if "siblings" is listed and more than one.
There is no "other thread" there, it's like "which one is the other hand?"
--
-bill davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me