Groups | Blog | Home
all groups > sql server (alternate) > july 2004 >

sql server (alternate) : Getting Memory usage through T-SQL


Adi Sapir
7/28/2004 3:15:59 AM
I'm trying to get the machine free ram value using either T-SQL or
SQL-DMO.
I found .Registry.PhysicalMemory which takes care of the total ram but
I still need eithrt the free or the used.

Any ideas?
Thanks!
sql NO[at]SPAM hayes.ch
7/28/2004 7:54:31 AM
[quoted text, click to view]

You should probably look at WMI for this, as it's intended for
retrieving this kind of system-level information:

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=Pzimb.191%24PL1.121%40reader1.news.jippii.net

AddThis Social Bookmark Button