Article
Problem:
To find out the number of actual (physical) processors present on your server.
Solution:
Normally while specifying the server configuration, the number of processors is specified. But when it is stated that a server is two processor or four processor etc we don't know the actual physical processors present. It might be the case that the server is enabled with hyper threading so that a server having two physical processors emulates four processor behavior.
To resolve this confusion, we can use the CPU information file of a system to determine if hyper threading is enabled or not.
To find out if hyper-threading is enabled on the processor:
cat /proc/cpuinfo check out the flags field. wp : yes flags : mmx fxsr sse sse2 ss ht tm pbe cid bogomips : 199.16
If hyper threading is enabled, it will show flag set to 'ht' otherwise it will display it as 'noht'.
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.
Related Articles
User Comments
- Be the first to comment! To leave a comment you need to Login or Register
- 4458 reads


0