installed memory(RAM)

  • Good morning Experts,

    Could you please let me know if i can get the installed memory(RAM) from SSMS through a script.

  • Are you meaning something like this?

    Select *

    ,dopc.cntr_value / 1024 As 'Total (MB)'

    From sys.dm_os_performance_counters dopc

    Where dopc.counter_name In ('Target Server Memory (KB)', 'Total Server Memory (KB)')

  • Yes, something like that

  • You can find detailed memory information in the sys.dm_os_process_memory view.

    😎

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply