<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SQLOS Team : dm_os_windows_info, dm_server_services</title><link>http://sqlblog.com/blogs/sqlos_team/archive/tags/dm_5F00_os_5F00_windows_5F00_info/dm_5F00_server_5F00_services/default.aspx</link><description>Tags: dm_os_windows_info, dm_server_services</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>New DMVs in Denali</title><link>http://sqlblog.com/blogs/sqlos_team/archive/2011/05/05/new-dmvs-in-denali.aspx</link><pubDate>Thu, 05 May 2011 18:41:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:35492</guid><dc:creator>SQLOS Team</dc:creator><slash:comments>2</slash:comments><comments>http://sqlblog.com/blogs/sqlos_team/comments/35492.aspx</comments><wfw:commentRss>http://sqlblog.com/blogs/sqlos_team/commentrss.aspx?PostID=35492</wfw:commentRss><description>&lt;p&gt;This article is about some of the new DMV&amp;rsquo;s that are newly added to next version of SQL Server. These are also available SQL Server 2008 R2 SP1. They are very helpful to get information about the host operating system that the SQL Server runs on, status of the server and even the memory dumps that are created by the server and registry keys that the server uses.&lt;/p&gt;
&lt;p&gt;To read all mentioned DMV&amp;rsquo;s the user must have VIEW SERVER STATE permission. &lt;/p&gt;
&lt;p&gt;&lt;b&gt;sys.dm_os_windows_info&lt;/b&gt;:&amp;nbsp; This DMV returns the OS related information to the user. It is good to know the properties of hosting server.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Columns:&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;windows_release: &lt;/li&gt;
&lt;li&gt;windows_service_pack&lt;/li&gt;
&lt;li&gt;windows_sku&lt;/li&gt;
&lt;li&gt;os_language_version&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;sys.dm_server_registry:&amp;nbsp; &lt;/b&gt;This DMV returns some of the registry keys that the server uses. &lt;/p&gt;
&lt;p&gt;&lt;b&gt;Columns:&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;registry key&lt;/li&gt;
&lt;li&gt;value_name&lt;/li&gt;
&lt;li&gt;value_data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;sys.dm_server_services:&lt;/strong&gt; This DMV provides useful information about the SQL Server, SQL Agent and SQL FullText service related with the running server. This DMV is very helpful to track the servers status and startup configuration.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Columns:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;service_name&lt;/li&gt;
&lt;li&gt;startup type&lt;/li&gt;
&lt;li&gt;startup_type_desc&lt;/li&gt;
&lt;li&gt;status&lt;/li&gt;
&lt;li&gt;status_type_desc&lt;/li&gt;
&lt;li&gt;process_id&lt;/li&gt;
&lt;li&gt;last_startup_time&lt;/li&gt;
&lt;li&gt;service_account&lt;/li&gt;
&lt;li&gt;filename&lt;/li&gt;
&lt;li&gt;is_clustered&lt;/li&gt;
&lt;li&gt;cluster_nodename&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;b&gt;sys.dm_server_memory_dumps: &lt;/b&gt;This DMV returns the dumps that are generated by the server.&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Columns:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;filename:&lt;/li&gt;
&lt;li&gt;size_in_bytes&lt;/li&gt;
&lt;li&gt;creation_time&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;If you need more detailed information on any of those, please reply to this post or send email&lt;/p&gt;
Originally posted at http://blogs.msdn.com/b/sqlosteam/&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=35492" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/sqlos_team/archive/tags/dm_5F00_os_5F00_windows_5F00_info/default.aspx">dm_os_windows_info</category><category domain="http://sqlblog.com/blogs/sqlos_team/archive/tags/dm_5F00_server_5F00_memory_5F00_dumps/default.aspx">dm_server_memory_dumps</category><category domain="http://sqlblog.com/blogs/sqlos_team/archive/tags/dm_5F00_server_5F00_registry/default.aspx">dm_server_registry</category><category domain="http://sqlblog.com/blogs/sqlos_team/archive/tags/dm_5F00_server_5F00_services/default.aspx">dm_server_services</category></item></channel></rss>