Created
February 16, 2018 13:58
-
-
Save richardbasile/f74802fe71e3798b051afb252c952083 to your computer and use it in GitHub Desktop.
SQL Server - Physical Memory
This file contains hidden or 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
SELECT total_physical_memory_kb/1024 as "Physical Memory MB" | |
, available_physical_memory_kb/1024 as "Available Memory MB" | |
, available_physical_memory_kb/(total_physical_memory_kb*1.0)*100 AS "% Memory Free" | |
FROM sys.dm_os_sys_memory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment