This is a handy script to pull info related to CPU and Memory.
SELECT cpu_count AS [Logical CPUs]
,cpu_count / hyperthread_ratio AS [Physical CPUs]
,physical_memory_in_bytes / 1048576 AS ‘mem_MB’
,virtual_memory_in_bytes / 1048576 AS ‘virtual_mem_MB’
,max_workers_count
,os_error_mode
,os_priority_class
FROM sys.dm_os_sys_info
World of DMV’s are really fun and exciting.