Quantcast
Channel: inSQLServer.com - Script Store
Viewing all articles
Browse latest Browse all 5

Script to find number of physical CPU installed on the server

$
0
0

SQL Script to check number of CPU installed on the server.

Physical CPU (Core)  = CPU Count / Hyper threaded Ratio

SELECT                cpu_count,

                                hyperthread_ratio,

                                (cpu_count/hyperthread_ratio) as [Physical CPUs]                            

FROM  sys.dm_os_sys_info

 

Tags: 


Viewing all articles
Browse latest Browse all 5

Trending Articles