Created
June 4, 2014 01:21
-
-
Save beachandbytes/8757b752c8394a6c85bc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USE MASTER | |
DECLARE @MemoryDenominator INT | |
SET @MemoryDenominator = 1048576 | |
select | |
cpu_count [CPUs] | |
,hyperthread_ratio [Hyperthread Ratio] | |
,physical_memory_in_bytes / @MemoryDenominator as [Memory (MB)] | |
,virtual_memory_in_bytes / @MemoryDenominator as [Virtual Memory (MB)] | |
,max_workers_count [Max Worker Count] | |
,os_error_mode [OS Error Mode] | |
,os_priority_class [OS Priority Class] | |
from sys.dm_os_sys_info | |
--Results-- | |
CPUs, Hyperthread Ratio, Memory (MB), Virtual Memory (MB), Max Worker Count, OS Error Mode, OS Priority Class | |
2 1 4095 8388607 512 5 32 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment