Python Forum

Full Version: Checking Hyperthreding status on python
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
HI all,

I'm new here Just joined so first off all, nice to meet you all!
My name is Ben.

I started Python coding about 2 weeks ago using Code academy course.

To push me forward I asked one of the senior developers to give me something to get going.

So he gave me a task to write a server spec check script.

It was not too difficult for the most part, I used psutil and platform modules to get most data.

One of the parts I'm really struggling with is finding the hyper-thread status can't seem to find anything online.

Is there any module that can help?

I started to think if maybe there is a way to check the number of logical and physical cores (again with PSutil?) and then do a sort of small formula.. if logical < 1 use = True / False or something..
(BTW the company uses python 2.7)

I'm lost..

Any suggestions?

Thanks in advance!

Best regards
Itay