<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.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>Brad Rutkowski's Blog : Metrics</title><link>http://blogs.technet.com/brad_rutkowski/archive/tags/Metrics/default.aspx</link><description>Tags: Metrics</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Interacting with Data Collector Sets via Powershell</title><link>http://blogs.technet.com/brad_rutkowski/archive/2009/02/18/interacting-with-data-collector-sets-via-powershell.aspx</link><pubDate>Thu, 19 Feb 2009 00:30:12 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3204255</guid><dc:creator>Brad Rutkowski</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/brad_rutkowski/comments/3204255.aspx</comments><wfw:commentRss>http://blogs.technet.com/brad_rutkowski/commentrss.aspx?PostID=3204255</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;&lt;u&gt;Background:&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;In an &lt;a href="http://blogs.technet.com/brad_rutkowski/archive/2007/04/14/hey-admins-let-s-explore-vista-together-part-1.aspx" target="_blank"&gt;earlier post&lt;/a&gt; I talked about some new features for Windows 2008 and Vista.&amp;#160; One of those new features that is often overlooked are the data collector sets (DCS).&amp;#160; One particular role that leverages data collector sets is active directory.&amp;#160; Active directory has put “hooks” into tracing that can really take a lot of the thinking out of the question “why is my domain controller sluggish”.&amp;#160; For those of you still running Windows 2003 I go over a similar concept called &lt;a href="http://blogs.technet.com/brad_rutkowski/archive/2007/06/26/great-tool-for-windows-2003-server-performance-advisor-spa.aspx" target="_blank"&gt;Server Performance Advisor&lt;/a&gt;.&amp;#160; &lt;/p&gt;  &lt;p&gt;Anyways, you can play around with DCS by typing perfmon and then traversing to the section called Data Collector Sets (shocking).&amp;#160; If you have performance issues, go here first as it’s like combining a netmon capture with a kernel trace and then handing you the smoking gun.&amp;#160; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;img src="http://i149.photobucket.com/albums/s62/brad9987/Capture-3.jpg" /&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Challenge:&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;In my current role, we have a need to automate things quite a bit and so one of the actions I was looking at solving was collecting diagnostic information when a server is performing poorly.&amp;#160; Usually when a high CPU alert comes in, someone would need to logon to the server and go to perfmon and start at DCS collection.&amp;#160; More often is the case that by the time someone had been alerted and went to the server the sluggish behavior had subsided (the dreaded “close ticket, no problem found”).&lt;/p&gt;  &lt;p&gt;My solution was to try and figure out a way to start a DCS collection remotely at the time of event so that the data was present when an actual human became engaged.&lt;/p&gt;  &lt;p&gt;After some hard work, here is the code to do so!&amp;#160; You can create your own XML file (your own DCS template) and pass it in, but more than likely you’ll be happy at just kicking off one of the built-in templates (AD/System Perf/System Diags).&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Running it via powershell:&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;First, how to do it on the fly:&lt;/p&gt;  &lt;div&gt;   &lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #008000"&gt;## PLA.dll lives under system32 on Vista and 2k8.  This will create a powershell com object.&lt;/span&gt;
$datacollectorset = new-object -COM Pla.DataCollectorSet
&lt;span style="color: #008000"&gt;##This is the name of the predefined DCS collector.  It's read-only and will always be System\&amp;lt;something&amp;gt;&lt;/span&gt;
$name = &lt;span style="color: #006080"&gt;&amp;quot;System\Active Directory Diagnostics&amp;quot;&lt;/span&gt;
&lt;span style="color: #008000"&gt;##If you make the second param $null it will be the local machine.&lt;/span&gt;
$datacollectorset.Query($name,&lt;span style="color: #006080"&gt;&amp;quot;serverA&amp;quot;&lt;/span&gt;) 
$datacollectorset.start($false)
&lt;span style="color: #008000"&gt;## Status ReturnCodes: 0=stopped 1=running 2=compiling 3=queued (legacy OS) 4=unknown (usually autologger)&lt;/span&gt;
$datacollectorset.status
&lt;span style="color: #008000"&gt;##When you're ready to stop it call stop.&lt;/span&gt;
$datacollectorset.stop($false)
&lt;span style="color: #008000"&gt;##If you call status here, it will probably be '2' for a while as the server compiles the report.&lt;/span&gt;
$datacollectorset.status&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;And like so, you started and stopped a collection for Active Directory on you’re local computer or a remote server!&amp;#160; Like I said though, you can create you’re own templates too.&amp;#160; You might want to do this if you want to setup a built-in template to be scheduled to run daily, or perhaps you want to send the data to a network location, run more tasks at completion, etc.&amp;#160; If you do want to create a custom template then the code changes a bit:&lt;/p&gt;

&lt;div&gt;
  &lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;$datacollectorset = new-object -COM Pla.DataCollectorSet
&lt;span style="color: #008000"&gt;## If you're making you're own (shows up under user defined).  &lt;/span&gt;
$xml = get-content C:\custom.xml &lt;span style="color: #008000"&gt;#You're custom exported XML file.&lt;/span&gt;
$datacollectorset.SetXml($xml)
&lt;span style="color: #008000"&gt;##Commit codes: http://msdn.microsoft.com/en-us/library/aa371873(VS.85).aspx this is add or modify.  Can't do this on a system created PLA instances (read only).&lt;/span&gt;
$datacollectorset.Commit($DCSPath , $null , 0x0003)     
$datacollectorset.Query($DCSPath,$null)
$datacollectorset.start($false)
&lt;span style="color: #008000"&gt;#Runs...&lt;/span&gt;
$datacollectorset.stop($false)&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Scripting a solution:&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Finally if you wanted to script this you could do something like what I’ve done below.&amp;#160; This would collect for a desired interval (in seconds) and then when compilation completed display the path to the report.&amp;#160; I wrote this in CTP3, but you can easily take the concepts and backport them.&amp;#160; If the destination server is inaccessible, or you don't have permissions, then the script will blow up…&lt;/p&gt;

&lt;div&gt;
  &lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&amp;lt;&lt;span style="color: #008000"&gt;#&lt;/span&gt;
    .SYNOPSIS
    This will fire up a PLA (Data Collector Set collection on a server and then copy it to the proper debug server
 
    .DESCRIPTION
    This is a proof of concept and only acceppts System defined collections.  No error handling so I hope you type well.

&lt;span style="color: #008000"&gt;#&amp;gt;&lt;/span&gt;

&lt;span style="color: #008000"&gt;##Inputs&lt;/span&gt;
[CmdletBinding()]
&lt;span style="color: #0000ff"&gt;param&lt;/span&gt;(
   [Parameter(Mandatory = $true)]
   &amp;lt;&lt;span style="color: #008000"&gt;#A system provided report to run like &amp;quot;System\System Performance&amp;quot;, System\System Diagnostics, etc. #&amp;gt;&lt;/span&gt;
   [string]$DCSPath,
   [Parameter(Mandatory = $true)]
   &amp;lt;&lt;span style="color: #008000"&gt;# This is how long you want the DCS collection to run in seconds#&amp;gt;&lt;/span&gt;
   [int32]$time,
   [Parameter(Mandatory = $false)]
   &amp;lt;&lt;span style="color: #008000"&gt;#If you don't pass in a server name it will be $null and run on the local system#&amp;gt;&lt;/span&gt;
   [string]$serverName
    )

    $datacollectorset = new-object -COM Pla.DataCollectorSet  
    $datacollectorset.Query($DCSPath,$serverName)
    $datacollectorset.start($false)
    Start-Sleep $time
    $datacollectorset.stop($false)
    
    &lt;span style="color: #008000"&gt;##Now we'll loop while the report compiles.&lt;/span&gt;
    $retries = 0
    do 
        {sleep 30; $returnCode = $datacollectorset.Status ; $retries++} 
    &lt;span style="color: #0000ff"&gt;while&lt;/span&gt; ($returnCode &lt;span style="color: #cc6633"&gt;-eq&lt;/span&gt; 2 -and $retries &lt;span style="color: #cc6633"&gt;-lt&lt;/span&gt; 60)
    
    &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; ($retries &lt;span style="color: #cc6633"&gt;-eq&lt;/span&gt; 60)
    {
        Write-Warning &lt;span style="color: #006080"&gt;&amp;quot;Compiling has been running on the server for 30 minutes!  You'll need to check the following location on the server later for the report:&amp;quot;&lt;/span&gt;
        Write-Warning $datacollectorset.OutputLocation
        &lt;span style="color: #0000ff"&gt;break&lt;/span&gt;
    }
    
    &lt;span style="color: #008000"&gt;##Compiling has finished, now we can copy the folder to some location&lt;/span&gt;
    $path = $datacollectorset.OutputLocation
    &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; ($serverName)
    {
    $path = $path.Replace(&lt;span style="color: #006080"&gt;&amp;quot;:&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;$&amp;quot;&lt;/span&gt;)
    Write-Host &lt;span style="color: #006080"&gt;&amp;quot;`nReport complete and can be viewed at \\$serverName\$path\report.html on the server.`n&amp;quot;&lt;/span&gt; 
    }
    &lt;span style="color: #0000ff"&gt;else&lt;/span&gt;
    {
    Write-Host &lt;span style="color: #006080"&gt;&amp;quot;`nReport complete and can be viewed at $path\report.html`n&amp;quot;&lt;/span&gt;
    }
    
   &lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;The result:&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src="http://i149.photobucket.com/albums/s62/brad9987/Capture-4.jpg" /&gt; &lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;More info:&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;PLA reference: &lt;a title="http://msdn.microsoft.com/en-us/library/aa372634(VS.85).aspx" href="http://msdn.microsoft.com/en-us/library/aa372634(VS.85).aspx"&gt;http://msdn.microsoft.com/en-us/library/aa372634(VS.85).aspx&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&amp;#160;&lt;/p&gt;

&lt;div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:13243a34-9c35-4042-b4eb-9f0961bae121" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Powershell" rel="tag"&gt;Powershell&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Windows+2008" rel="tag"&gt;Windows 2008&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Active+Directory" rel="tag"&gt;Active Directory&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Windows" rel="tag"&gt;Windows&lt;/a&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3204255" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Business+up+front/default.aspx">Business up front</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/DS/default.aspx">DS</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Metrics/default.aspx">Metrics</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Cool+Tools/default.aspx">Cool Tools</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>Hey Admins!  Taking some of the pain out of analyzing perfmon captures.</title><link>http://blogs.technet.com/brad_rutkowski/archive/2008/02/13/hey-admins-taking-some-of-the-pain-out-of-analyzing-perfmon-captures.aspx</link><pubDate>Thu, 14 Feb 2008 02:03:20 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2887011</guid><dc:creator>Brad Rutkowski</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/brad_rutkowski/comments/2887011.aspx</comments><wfw:commentRss>http://blogs.technet.com/brad_rutkowski/commentrss.aspx?PostID=2887011</wfw:commentRss><description>&lt;p&gt;&lt;a href="http://www.codeplex.com/PAL" target="_blank"&gt;Performance Analysis of Logs (PAL) tool&lt;/a&gt;&lt;/p&gt;  &lt;h2&gt;&lt;b&gt;&lt;/b&gt;&lt;/h2&gt;  &lt;p&gt;&lt;b&gt;Project Description:&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Ever have a performance problem, but don't know what performance counters to collect or how to analyze them? The PAL (Performance Analysis of Logs) tool is a new and powerful tool that reads in a performance monitor counter log (any known format) and analyzes it using complex, but known thresholds (provided). The tool generates an HTML based report which graphically charts important performance counters and throws alerts when thresholds are exceeded. The thresholds are originally based on thresholds defined by the Microsoft product teams and members of Microsoft support, but continue to be expanded by this ongoing project. This tool is not a replacement of traditional performance analysis, but it automates the analysis of performance counter logs enough to save you time. This is a VBScript and requires Microsoft LogParser (free download).&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;My take on the tool:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;For those of us out there that don't have to deal with performance data on a daily basis I see a few options to help troubleshoot performance issues on your servers.&amp;#160; 1) If your using 2k3 use &lt;a href="http://blogs.technet.com/brad_rutkowski/archive/2007/06/26/great-tool-for-windows-2003-server-performance-advisor-spa.aspx" target="_blank"&gt;SPA&lt;/a&gt;.&amp;#160; 2) If you're running 2k8/Vista use &lt;a href="http://blogs.technet.com/brad_rutkowski/archive/2007/04/14/hey-admins-let-s-explore-vista-together-part-1.aspx" target="_blank"&gt;data collection sets&lt;/a&gt;. 3) Collect analyze your own perfmon captures.&lt;/p&gt;  &lt;p&gt;Now you might want to look into this tool.&amp;#160; I found the tool simple to use and it's really a four step process.&amp;#160; The web page created for the analysis has a plethora of info and links to the codeplex site for more info. Sweet.&lt;/p&gt;  &lt;p&gt;Really in the end it's just a time saver.&amp;#160; After collecting performance data on a server you need to analyze that data.&amp;#160; This entails opening the log file, adding the counters that you've collected and finding out if any of the counters are above any thresholds (deemed by you).&amp;#160; This tool does that analysis for you.&amp;#160; It comes out-of-the-box with some predefined thresholds defined as high according to the MSFT consulting/development but those can be adjusted to whatever suits your fancy.&lt;/p&gt;  &lt;p&gt;Once you get everything installed its time to do some analysis.&amp;#160; It comes with some threshold templates for AD, System Overview, IIS, SQL, Exchange, etc (see pic)&amp;#160; You point the app at the performance log you've captured during your perf issue, choose a threshold template to your liking, answer some basic questions, add the form and execute:&lt;/p&gt;  &lt;p&gt;&lt;img src="http://i149.photobucket.com/albums/s62/brad9987/PALtoolscreenshot.jpg" /&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Once it completes it generates a webpage with the analysis information you desire.&amp;#160; The webpage shows you alerts for activity that it finds suspect and graphs for the different areas of interest.&amp;#160; I can't paste all the pics/info in here as it is quite lengthy depending on the interval you provide.&amp;#160; But this definitely seems like a tool that could be handy down the road.&amp;#160; Looking at the web page it looks really similar to SPA, but with graphs provided via the Office Web Components add-in.&amp;#160; For example here is how I could find out LDP was using too much CPU:&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;First I found the alert which said that something was being excessive and I clicked on the link (sorry for the blurriness):&lt;/p&gt;  &lt;p&gt;&lt;img src="http://i149.photobucket.com/albums/s62/brad9987/Alert.jpg" /&gt; &lt;/p&gt;  &lt;p&gt;Then I found LDP consuming the CPU:&amp;#160; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;img src="http://i149.photobucket.com/albums/s62/brad9987/Procc.jpg" /&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Add it to your bag of tricks, hope it helps.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:4de9e92d-c4d0-4662-94c8-7dc197675fae" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Windows%202003" rel="tag"&gt;Windows 2003&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Windows%202008" rel="tag"&gt;Windows 2008&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Perfmon" rel="tag"&gt;Perfmon&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Performance" rel="tag"&gt;Performance&lt;/a&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2887011" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Business+up+front/default.aspx">Business up front</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+2003/default.aspx">Windows 2003</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Metrics/default.aspx">Metrics</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Cool+Tools/default.aspx">Cool Tools</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/CPU/default.aspx">CPU</category></item><item><title>Some docs to help get you ready for Windows 2008.</title><link>http://blogs.technet.com/brad_rutkowski/archive/2008/02/11/some-docs-to-help-get-you-ready-for-windows-2008.aspx</link><pubDate>Tue, 12 Feb 2008 01:23:40 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2871967</guid><dc:creator>Brad Rutkowski</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/brad_rutkowski/comments/2871967.aspx</comments><wfw:commentRss>http://blogs.technet.com/brad_rutkowski/commentrss.aspx?PostID=2871967</wfw:commentRss><description>&lt;p&gt;Yes you are going to want Windows 2008 in your shop.&amp;#160; We've been running 2k8 for over two year sin production and I'm very proud of the product we're shipping shortly.&amp;#160; Some of you will want to start thinking about what's new in the OS, what has changed, performance, and deployment.&amp;#160; Here are some docs/links that will help get you started.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=173E6E9B-4D3E-4FD4-A2CF-73684FA46B60&amp;amp;displaylang=en" target="_blank"&gt;Changes in Functionality from Windows Server 2003 with SP1 to Windows Server 2008&lt;/a&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;This document describes new features and technologies, which were not available in Windows Server 2003 with Service Pack 1 (SP1), that will help to&amp;#160;&amp;#160;&amp;#160;&amp;#160; increase the security of computers running Windows Server 2008, increase productivity, and reduce administrative overhead.      &lt;br /&gt;These topics apply to the next release of Windows Server 2008, based on the functionality expected to be included in the Beta releases in 2007. They do not describe all of the changes that are included in Windows Server 2008. Instead, they highlight changes that will potentially have the greatest impact on your use of Windows Server 2008 and provide references to additional information.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;a href="http://www.microsoft.com/whdc/system/sysperf/Perf_tun_srv.mspx" target="_blank"&gt;Performance Tuning Guidelines for Windows Server 2008&lt;/a&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&amp;#8226;Performance Tuning for Server Hardware&lt;/p&gt;    &lt;p&gt;&amp;#8226;Performance Tuning for Networking Subsystem&lt;/p&gt;    &lt;p&gt;&amp;#8226;Performance Tuning for Storage Subsystem&lt;/p&gt;    &lt;p&gt;&amp;#8226;Performance Tuning for Web Servers&lt;/p&gt;    &lt;p&gt;&amp;#8226;Performance Tuning for File Servers&lt;/p&gt;    &lt;p&gt;&amp;#8226;Performance Tuning for Active Directory Servers&lt;/p&gt;    &lt;p&gt;&amp;#8226;Performance Tuning for Terminal Server&lt;/p&gt;    &lt;p&gt;&amp;#8226;Performance Tuning for Terminal Server Gateway&lt;/p&gt;    &lt;p&gt;&amp;#8226;Performance Tuning for File Server Workload (NetBench)&lt;/p&gt;    &lt;p&gt;&amp;#8226;Performance Tuning for Network Workload (NTttcp)&lt;/p&gt;    &lt;p&gt;&amp;#8226;Performance Tuning for Terminal Server Knowledge Worker Workload&lt;/p&gt;    &lt;p&gt;&amp;#8226;Performance Tuning for SAP Sales and Distribution Two-Tier Workload&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=518d870c-fa3e-4f6a-97f5-acaf31de6dce&amp;amp;DisplayLang=en" target="_blank"&gt;Windows Server 2008 Step-by-Step Guides (updated 02/08/2008)&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;All other inquiries head to the T&lt;a href="http://technet2.microsoft.com/windowsserver2008/en/library/bab0f1a1-54aa-4cef-9164-139e8bcc44751033.mspx?mfr=true" target="_blank"&gt;echnical Library for 2k8&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;BTW when you install 2k8 and notice that in WinVER or System Properties it shows SP1, don't be alarmed this is by design.&amp;#160; Vista SP1 and Win2k8 were developed in parallel, so fixes in the code were included in both versions.&amp;#160; This isn't the first time, when we rolled Windows 2003 x64 edition out the door it went as SP1 too...&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;img src="http://i149.photobucket.com/albums/s62/brad9987/Capturez.jpg" /&gt; &lt;/p&gt;  &lt;div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:fa140bce-bd9a-4b4d-889f-9b6ec90ffe7e" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/windows%202008" rel="tag"&gt;windows 2008&lt;/a&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2871967" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Business+up+front/default.aspx">Business up front</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Metrics/default.aspx">Metrics</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/CPU/default.aspx">CPU</category></item><item><title>How long did it take that command to run?</title><link>http://blogs.technet.com/brad_rutkowski/archive/2008/01/16/how-long-did-it-take-that-command-to-run.aspx</link><pubDate>Wed, 16 Jan 2008 03:08:51 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2748657</guid><dc:creator>Brad Rutkowski</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/brad_rutkowski/comments/2748657.aspx</comments><wfw:commentRss>http://blogs.technet.com/brad_rutkowski/commentrss.aspx?PostID=2748657</wfw:commentRss><description>&lt;p&gt;When troubleshooting latency issues I've found it helpful to have firm numbers of how long it took for a command to run?&amp;nbsp; For instance we were looking at an issue where net viewing a server took a long time, but we didn't have firm number of how long it took each time to compare with healthy servers.&amp;nbsp; What are we going to do watch the clock?&amp;nbsp; &lt;/p&gt; &lt;p&gt;Internally we use a tool called timer.exe which does what we want, so I went scavenging around the intertubes to try and find a similar tool that would useful externally.&amp;nbsp; Here it is.&amp;nbsp; It's an old tool but don't hold that against it.&lt;/p&gt; &lt;p&gt;&lt;a title="http://www.microsoft.com/downloads/details.aspx?familyid=913795CD-7026-4143-AE85-1F5E096F9BE0&amp;amp;displaylang=en" href="http://www.microsoft.com/downloads/details.aspx?familyid=913795CD-7026-4143-AE85-1F5E096F9BE0&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=913795CD-7026-4143-AE85-1F5E096F9BE0&amp;amp;displaylang=en&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Syntax:&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;C:\localbin&amp;gt;timethis  &lt;p&gt;-----------------------------------&lt;br&gt;TIMETHIS&amp;nbsp; :&amp;nbsp; Command Timing Utility&lt;br&gt;-----------------------------------  &lt;p&gt;Usage : TIMETHIS "command"  &lt;p&gt;&amp;nbsp; TimeThis executes the command specified by its arguments, then reports its&lt;br&gt;&amp;nbsp; run time in HH:MM:SS.TTT format.&amp;nbsp; Quotes around the command are required only&lt;br&gt;&amp;nbsp; when the command involves redirection via &amp;lt;, &amp;gt;, &amp;gt;&amp;gt;, or |, etc.&amp;nbsp; Quotes ensure&lt;br&gt;&amp;nbsp; that the redirection is applied to the command being timed, rather than the&lt;br&gt;&amp;nbsp; TimeThis command itself. &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;C:\localbin&amp;gt;timethis net view \\red-dc-03  &lt;p&gt;TimeThis :&amp;nbsp; Command Line :&amp;nbsp; net view \\red-dc-03&lt;br&gt;TimeThis :&amp;nbsp;&amp;nbsp;&amp;nbsp; Start Time :&amp;nbsp; Tue Jan 15 16:04:52 2008  &lt;p&gt;There are no entries in the list.  &lt;p&gt;TimeThis :&amp;nbsp; Command Line :&amp;nbsp; net view \\red-dc-03&lt;br&gt;TimeThis :&amp;nbsp;&amp;nbsp;&amp;nbsp; Start Time :&amp;nbsp; Tue Jan 15 16:04:52 2008&lt;br&gt;TimeThis :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Time :&amp;nbsp; Tue Jan 15 16:04:56 2008&lt;br&gt;&lt;strong&gt;TimeThis :&amp;nbsp; Elapsed Time :&amp;nbsp; 00:00:03.446&lt;/strong&gt;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2748657" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Business+up+front/default.aspx">Business up front</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Metrics/default.aspx">Metrics</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Cool+Tools/default.aspx">Cool Tools</category></item><item><title>What do you say you DO here?</title><link>http://blogs.technet.com/brad_rutkowski/archive/2007/12/21/what-do-you-say-you-do-here.aspx</link><pubDate>Fri, 21 Dec 2007 22:21:10 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2667686</guid><dc:creator>Brad Rutkowski</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/brad_rutkowski/comments/2667686.aspx</comments><wfw:commentRss>http://blogs.technet.com/brad_rutkowski/commentrss.aspx?PostID=2667686</wfw:commentRss><description>&lt;p&gt;Just &lt;a title="Pingback" href="http://msmvps.com/blogs/ad/archive/2007/07/27/windows-server-2008-component-poster.aspx" target="_blank"&gt;noticed&lt;/a&gt; the AD jigsaw poster has been &lt;a href="http://blogs.msdn.com/joev/archive/2007/12/22/server-wall-posters-to-adorn-your-walls.aspx" target="_blank"&gt;updated&lt;/a&gt; for 2k8.&amp;nbsp; So next time your boss asks you "What do say you do here?", don't reply with I'm a people person!&amp;nbsp; Do the following:&lt;/p&gt; &lt;p&gt;1) Download one of the jigsaw posters from &lt;a title="http://www.microsoft.com/downloads/details.aspx?FamilyID=c2b9e44e-0bbd-47cb-bc09-b3d48be7f867&amp;amp;DisplayLang=en" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c2b9e44e-0bbd-47cb-bc09-b3d48be7f867&amp;amp;DisplayLang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=c2b9e44e-0bbd-47cb-bc09-b3d48be7f867&amp;amp;DisplayLang=en&lt;/a&gt;&lt;/p&gt; &lt;p&gt;2) Print out on plotter&lt;/p&gt; &lt;p&gt;3) Give to boss&lt;/p&gt; &lt;p&gt;4) Ask for raise&lt;/p&gt; &lt;p&gt;We used to have one of these hanging outside &lt;a title="Puhl" href="http://imav8n.wordpress.com/" target="_blank"&gt;our&lt;/a&gt; office, and as the rotating bosses would come by to see what we did, we'd just point them to the poster.&amp;nbsp; Wonder where that thing is now...&lt;/p&gt; &lt;div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:950e689b-c5c4-407b-8c6d-d747f4c645a1" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;Technorati tags: &lt;a href="http://technorati.com/tags/Active%20Directory" rel="tag"&gt;Active Directory&lt;/a&gt;, &lt;a href="http://technorati.com/tags/Windows%202008" rel="tag"&gt;Windows 2008&lt;/a&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2667686" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Party+in+the+back/default.aspx">Party in the back</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/DS/default.aspx">DS</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Metrics/default.aspx">Metrics</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category></item><item><title>Using TypePerf to get performance data on the command prompt.</title><link>http://blogs.technet.com/brad_rutkowski/archive/2007/09/22/using-typeperf-to-get-performance-data-on-the-command-prompt.aspx</link><pubDate>Sat, 22 Sep 2007 23:29:36 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2020285</guid><dc:creator>Brad Rutkowski</dc:creator><slash:comments>5</slash:comments><comments>http://blogs.technet.com/brad_rutkowski/comments/2020285.aspx</comments><wfw:commentRss>http://blogs.technet.com/brad_rutkowski/commentrss.aspx?PostID=2020285</wfw:commentRss><description>&lt;p&gt;I was tracking a high CPU issue this week and needed to know when one of my servers was pegged so I could investigate.&amp;nbsp; I could of used perfmon I guess but I really like to do everything I can from the command prompt.&amp;nbsp; I always like it when there is a tool that can do data collection from the command prompt as this gives you the ability to easily script it if warranted. &lt;p&gt;&lt;a title="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/nt_command_typeperf.mspx?mfr=true" href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/nt_command_typeperf.mspx?mfr=true"&gt;http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/nt_command_typeperf.mspx?mfr=true&lt;/a&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;C:\Windows\system32&amp;gt;typeperf "\\Server1\Processor(_Total)\% Processor Time" &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;"(PDH-CSV 4.0)","\\Server1\Processor(_Total)\% Processor Time"&lt;br&gt;"09/20/2007 15:42:42.926","18.097697"&lt;br&gt;"09/20/2007 15:42:43.928","21.217785"&lt;br&gt;"09/20/2007 15:42:44.929","15.757631"&lt;br&gt;"09/20/2007 15:42:45.931","16.537653"&lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;The command completed successfully.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;You can collect any counter that lives in the perfmon world, I'm sure some of you out there will find a use for this.&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;C:\Debuggers&amp;gt;typeperf "\\serverX\Server\Server Sessions" -sc 2 &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;"(PDH-CSV 4.0)","\\serverX\Server\Server Sessions"&lt;br&gt;"09/22/2007 13:21:54.110","8.000000"&lt;br&gt;"09/22/2007 13:21:55.117","8.000000" &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;The command completed successfully.&lt;/font&gt; &lt;p&gt;&lt;em&gt;Full Syntax below, you can adjust the collection in numerous ways.&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;C:\Debuggers&amp;gt;typeperf -? &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Microsoft r TypePerf.exe (6.0.6001.16656) &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Typeperf writes performance data to the command window or to a log file. To stop Typeperf, press CTRL+C. &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Usage:&lt;br&gt;typeperf { &amp;lt;counter [counter ...]&amp;gt; | -cf &amp;lt;filename&amp;gt; | -q [object] | -qx [object] } [options] &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Parameters:&lt;br&gt;&amp;nbsp; &amp;lt;counter [counter ...]&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Performance counters to monitor. &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Options:&lt;br&gt;&amp;nbsp; -?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Displays context sensitive help.&lt;br&gt;&amp;nbsp; -f &amp;lt;CSV|TSV|BIN|SQL&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Output file format. Default is CSV.&lt;br&gt;&amp;nbsp; -cf &amp;lt;filename&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File containing performance counters to monitor, one per line.&lt;br&gt;&amp;nbsp; -si &amp;lt;[[hh:]mm:]ss&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time between samples. Default is 1 second.&lt;br&gt;&amp;nbsp; -o &amp;lt;filename&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Path of output file or SQL database. Default is STDOUT.&lt;br&gt;&amp;nbsp; -q [object]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; List installed counters (no instances). To list counters for one object, include the object name, such as Processor.&lt;br&gt;&amp;nbsp; -qx [object]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; List installed counters with instances. To list counters for one object, include the object name, such as Processor.&lt;br&gt;&amp;nbsp; -sc &amp;lt;samples&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Number of samples to collect. Default is to sample until CTRL+C.&lt;br&gt;&amp;nbsp; -config &amp;lt;filename&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Settings file containing command options.&lt;br&gt;&amp;nbsp; -s &amp;lt;computer_name&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Server to monitor if no server is specified in the counter path.&lt;br&gt;&amp;nbsp; -y&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Answer yes to all questions without prompting.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt; &lt;div class="wlWriterSmartContent" id="0767317B-992E-4b12-91E0-4F059A8CECA8:d1da0965-b4a2-4739-bf80-7bc246d67720" contenteditable="false" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;Technorati tags: &lt;a href="http://technorati.com/tags/Windows%202008" rel="tag"&gt;Windows 2008&lt;/a&gt;, &lt;a href="http://technorati.com/tags/Vista" rel="tag"&gt;Vista&lt;/a&gt;, &lt;a href="http://technorati.com/tags/XP" rel="tag"&gt;XP&lt;/a&gt;, &lt;a href="http://technorati.com/tags/Admin" rel="tag"&gt;Admin&lt;/a&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2020285" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Business+up+front/default.aspx">Business up front</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Ghetto+scripting/default.aspx">Ghetto scripting</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Vista+and+Lognhorn/default.aspx">Vista and Lognhorn</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Metrics/default.aspx">Metrics</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category></item><item><title>Hey Admins! Windows System State Analyzer (Beta)</title><link>http://blogs.technet.com/brad_rutkowski/archive/2007/08/25/hey-admins-windows-system-state-analyzer-beta.aspx</link><pubDate>Sat, 25 Aug 2007 06:56:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1821014</guid><dc:creator>Brad Rutkowski</dc:creator><slash:comments>7</slash:comments><comments>http://blogs.technet.com/brad_rutkowski/comments/1821014.aspx</comments><wfw:commentRss>http://blogs.technet.com/brad_rutkowski/commentrss.aspx?PostID=1821014</wfw:commentRss><description>&lt;B&gt;Windows System state analyzer tool&lt;/B&gt;&lt;BR&gt;&lt;EM&gt;Helps create snapshots of the computer—some of which include fixed drives, services, drivers and the registry. Users can create two snapshots at different points in time and compare them to view differences. A detailed report could be generated at the end of a compare operation.&lt;/EM&gt; 
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Microsoft is starting to release some tools to validate system configurations and verify server application/driver compliance for the Windows Server 2008 logo and certification program.&lt;/P&gt;
&lt;P&gt;&lt;A title=http://www.innovateonwindowsserver.com/learnbuild.aspx href="http://www.innovateonwindowsserver.com/learnbuild.aspx" mce_href="http://www.innovateonwindowsserver.com/learnbuild.aspx"&gt;http://www.innovateonwindowsserver.com/learnbuild.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;What does this mean for you?&amp;nbsp; It means you now have a tool that you can use to take a snapshot of&amp;nbsp; your server, save the output to a snapshot file, and then compare it to another snapshot from the same system, or another system all together and compare the differences.&lt;/P&gt;
&lt;P&gt;Granted it can be quite verbose (detailed report), but in my test I flipped a few registry keys for diagnsotics, and started a couple of services and they showed up in the quick report as expected.&lt;/P&gt;
&lt;P&gt;Why is this useful to me?&amp;nbsp; You can configure your domain controller with all the registry keys you like, drivers you want on a certain platform (DL380 G2), services&amp;nbsp;enabled/disabled and directories you want unchanged.&amp;nbsp;Save that snapshot for a rainy day when you get an escalation on another DC.&amp;nbsp; You know what your good DC looks like (You have the snapshot) now you can compare that to DC that is not working correctly and see if some of the settings are different.&lt;/P&gt;
&lt;P&gt;When I ran the DCs in MSIT, variance was one of the things that was hard to keep under control.&amp;nbsp; You'd turn something on for troubleshooting, or more likely turn something off and now you have differences in your service.&amp;nbsp; I think this tool could be helpful in&amp;nbsp;reducing some of the varianc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Updated Link: &lt;SPAN lang=EN style="mso-ansi-language: EN"&gt;&lt;A href="http://microsoft.mrmpslc.com/InnovateOnWindowsServer/Download/WindowsSystemStateAnalyzer_x86.msi?bcsi_scan_412712405F8D0B5D=1" target=_new&gt;&lt;FONT face=Calibri color=#0000ff size=3&gt;http://microsoft.mrmpslc.com/InnovateOnWindowsServer/Download/WindowsSystemStateAnalyzer_x86.msi?bcsi_scan_412712405F8D0B5D=1&lt;/FONT&gt;&lt;/A&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=1821014" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Business+up+front/default.aspx">Business up front</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Metrics/default.aspx">Metrics</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Cool+Tools/default.aspx">Cool Tools</category></item><item><title>Great tool for Windows 2003: Server Performance Advisor (SPA)</title><link>http://blogs.technet.com/brad_rutkowski/archive/2007/06/26/great-tool-for-windows-2003-server-performance-advisor-spa.aspx</link><pubDate>Tue, 26 Jun 2007 18:47:07 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1368601</guid><dc:creator>Brad Rutkowski</dc:creator><slash:comments>22</slash:comments><comments>http://blogs.technet.com/brad_rutkowski/comments/1368601.aspx</comments><wfw:commentRss>http://blogs.technet.com/brad_rutkowski/commentrss.aspx?PostID=1368601</wfw:commentRss><description>&lt;p&gt;First off you can download SPA 2.0&amp;nbsp;&lt;a title="SPA baby!" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=09115420-8c9d-46b9-a9a5-9bffcd237da2&amp;amp;DisplayLang=en" target="_blank"&gt;here&lt;/a&gt;.&amp;nbsp; I'm going to explain how to quickly use SPA, and then what type of data is returned in this post.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;What is SPA?&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;So what is SPA and how can you use it?&amp;nbsp; Well the official overview is: &lt;/p&gt; &lt;p&gt;&lt;em&gt;Microsoft ® Windows Server ™ 2003 Performance Advisor is the latest version of Server Performance Advisor, which is a simple but robust tool that helps you diagnose the root causes of performance problems in a Microsoft Windows Server 2003 deployment. Server Performance Advisor collects performance data and generates comprehensive diagnostic reports that give you the data to easily analyze problems and develop corrective actions&lt;br&gt;Microsoft ® Windows Server ™ 2003 Performance Advisor provides several specialized reports, including a System Overview (focusing on CPU usage, Memory usage, busy files, busy TCP clients, top CPU consumers) and reports for server roles such as Active Directory, Internet Information System (IIS), DNS, Terminal Services, SQL, print spooler, and others.&lt;/em&gt;  &lt;p&gt;Really I think of it as network monitor and performance monitor wrapped into one package so that you can correlate which clients might be causing load on your system.  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Some nifty things about SPA:&lt;/u&gt;&lt;/strong&gt;  &lt;p&gt;1) It's XML based so the reports that are collected get organized "automagically" by date and server so you can drill down on a particular server.&amp;nbsp;&amp;nbsp; You could have a thousand reports on your reporting server and its quite easy to navigate via IE to the server and date that you are looking for. &lt;p&gt;2) You can setup SPA on your servers in "Data" mode and then setup a member server as a SPA "reporting" server, then you can schedule your servers to collect at a certain time and send that data to the reporting server.&amp;nbsp; You can also have SPA (with version 2.0) take the data from those servers and put it in a SQL database for trending purposes.&amp;nbsp; This is what we do internally, we setup the jobs to run at 10 and 2 to get peak utilization trending on our domain controllers.&amp;nbsp; There is a chm file with SPA with more details on this.  &lt;p&gt;3) Doesn't require a reboot to install.  &lt;p&gt;4) Was deemed so awesome it is built right into Vista and Windows Server 2008 (Data Collection Sets)  &lt;p&gt;&amp;nbsp; &lt;p&gt;I'm not going to dabble into the trending and reporting server side of SPA as that would require a lot more typing but like I said if you install SPA, you can read the chm about scheduling tasks and trending.&amp;nbsp; I just wanted to point it out because some people might not have a monitoring solution where you can do some rudimentary trending and this could be a free solution.  &lt;p&gt;&amp;nbsp;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;The install&lt;/u&gt;&lt;/strong&gt;  &lt;p&gt;Double click MSI, leave defaults.  &lt;p&gt;&lt;strong&gt;&lt;u&gt;How and when to use&lt;/u&gt;&lt;/strong&gt;  &lt;p&gt;We're going to be focusing on how to use SPA to troubleshoot, lets look at an example of that.&amp;nbsp; SPA is useful at narrowing down resource issues on a system with regards to processor, memory, network, and disk.  &lt;p&gt;Last week we had a WINS server that was throwing database errors and so our team was engaged.&amp;nbsp; I installed SPA using the steps above,I then could have used the GUI to launch SPA and start a collection (default 300 seconds), but this is the faster way (the way I use). &lt;p&gt;1) Navigate to the SPA directory, if you installed on an x64 system it will be under "Program Files (x86)", otherwise just "Program Files\Server Performance Advisor"  &lt;p&gt;2) Since I want just a system overview report I ran &lt;em&gt;spacmd start "system overview"&lt;/em&gt;  &lt;blockquote&gt; &lt;p&gt;a) At this point the collection starts and you should see some processes labeled plahost running in task manager.&amp;nbsp; You can let this run for 300 seconds but in my case I just needed a quick 30 second snapshot since the repro was constantly happening.&lt;/p&gt; &lt;p&gt;b) If you installed this on a domain controller you could do &lt;em&gt;spacmd start "active directory"&lt;/em&gt; or &lt;em&gt;spacmd start &lt;/em&gt;* which would start all the templates you have installed.&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;3) Now stop the collection: &lt;em&gt;spacmd stop "system overview"&lt;/em&gt;  &lt;blockquote&gt; &lt;p&gt;a) At this point as long as you left the defaults during install you should see a new folder under c:\perflogs with the server name and a few files underneath that.  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;C:\PerfLogs\Data\System Overview\Current\BRAD-SERVER_200706211545&amp;gt;dir&lt;br&gt;&amp;nbsp;Volume in drive C is C_Drive&lt;br&gt;&amp;nbsp;Volume Serial Number is 70C4-9FFD &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Directory of C:\PerfLogs\Data\System Overview\Current\BRAD-SERVER_200706211545 &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;06/21/2007&amp;nbsp; 03:49 PM&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DIR&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;br&gt;06/21/2007&amp;nbsp; 03:49 PM&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DIR&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ..&lt;br&gt;06/21/2007&amp;nbsp; 03:49 PM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,673 global_reg.xml &lt;font color="#ff0000"&gt;//Some registry settings are checked by SPA there saved here&lt;/font&gt;&lt;br&gt;06/21/2007&amp;nbsp; 03:49 PM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,441,792 system_kernel.etl&amp;nbsp; &lt;font color="#ff0000"&gt;//A trace file that SPA analyzes during the capture.&lt;/font&gt;&lt;br&gt;06/21/2007&amp;nbsp; 03:49 PM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,638,400 system_perf.blg&amp;nbsp; &lt;font color="#ff0000"&gt;//Perfmon binary log file that SPA analyzes from the capture.&lt;/font&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3 File(s)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3,081,865 bytes&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 Dir(s)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 960,020,480 bytes free&lt;/font&gt; &lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;4) Now we need to compile the data we captured into a report: &lt;em&gt;spacmd compile "system overview"&lt;/em&gt;  &lt;blockquote&gt; &lt;p&gt;a) Once this is complete, you should see the report in the reports directory.&amp;nbsp; If using the GUI then the report will show up under reports under System Overview.  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;C:\PerfLogs\report\System Overview\Current\BRAD-SERVER_200706211545&amp;gt;dir&lt;br&gt;&amp;nbsp;Volume in drive C is C_Drive&lt;br&gt;&amp;nbsp;Volume Serial Number is 70C4-9FFD &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Directory of C:\PerfLogs\report\System Overview\Current\BRAD-SERVER_200706211545&lt;/font&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;06/22/2007&amp;nbsp; 09:35 AM&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DIR&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;br&gt;06/22/2007&amp;nbsp; 09:35 AM&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DIR&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ..&lt;br&gt;06/22/2007&amp;nbsp; 09:24 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,721 global_reg.xml&lt;br&gt;06/22/2007&amp;nbsp; 09:35 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2,365 obelisk.ip&lt;br&gt;06/22/2007&amp;nbsp; 09:35 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 608,594 report.xml &lt;font color="#ff0000"&gt;//&lt;em&gt;Double click this one.&lt;/em&gt;&lt;/font&gt;&lt;br&gt;06/22/2007&amp;nbsp; 09:34 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 62,417 report.xsl&lt;br&gt;06/22/2007&amp;nbsp; 09:35 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 656 summary.xml&lt;br&gt;06/22/2007&amp;nbsp; 09:24 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6,881,280 system_kernel.etl&lt;br&gt;06/22/2007&amp;nbsp; 09:24 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6,094,848 system_perf.blg&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7 File(s)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13,651,881 bytes&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 Dir(s)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 963,108,864 bytes free&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;Analyzing the report&lt;/u&gt;&lt;/strong&gt;  &lt;p&gt;So now that we have the report we can open it up and start looking at it, just double click report.xml and IE should open.&amp;nbsp; You'll want to allow scripts and ActiveX so that you can adjust the data in the xml doc as it is dynamic.&amp;nbsp; For example, if you look in the second JPG below on the top right its says "3 of 15" if you wanted to see the top 15 of 15 you could just click the 3 and type in 15, and the report would change. &lt;p&gt;&amp;nbsp; &lt;p&gt;The first part of the report is a summary, and links to other sections pertaining to CPU, Network, Disk, and Memory.&amp;nbsp; Below that is any performance advisories that SPA flagged for you and then how each of the components were doing.&amp;nbsp; In the first JPG below, on the right there is a little help icon, if you click the icon it will open a chm file with further steps you can take to narrow down the issue.&amp;nbsp;  &lt;p&gt;&lt;img src="http://i149.photobucket.com/albums/s62/brad9987/SPA_1.jpg"&gt;  &lt;p&gt;I can't go through each area of concern but you get the idea.&amp;nbsp; As I was going through the network section I noticed this:&lt;/p&gt; &lt;p&gt;&lt;img src="http://i149.photobucket.com/albums/s62/brad9987/SPA_2.jpg"&gt; &lt;/p&gt; &lt;p&gt;This seemed odd so I filtered my network monitor capture that I took during the same time period for vm-lab-machine and it came back with a ton&amp;nbsp;of 1F registrations and releases for the 1F record for that server like so:  &lt;p&gt;&lt;font face="Courier New" size="1"&gt;13861&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.703125&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13863&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.703125&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13864&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.703125&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13865&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.703125&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13866&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.703125&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13867&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.703125&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13868&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.703125&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13869&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.703125&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13870&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.703125&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13871&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13872&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13873&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13874&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13875&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13876&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13877&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13878&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13879&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13880&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13881&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13882&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13883&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13884&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13885&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13886&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Registration Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13887&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Request for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;br&gt;13888&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.718750&amp;nbsp;&amp;nbsp;&amp;nbsp; BRAD-SERVER&amp;nbsp;&amp;nbsp;&amp;nbsp; VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs&amp;nbsp;&amp;nbsp;&amp;nbsp; NbtNs: Release Response, Success for VM-LAB-MACHINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;0x1F&amp;gt; NetDDE Service, xxx-xx-xxxx-xx&lt;/font&gt;&lt;/p&gt; &lt;p&gt;I then popped the query &lt;a title="Yeah Live.com!" href="http://search.live.com/results.aspx?q=1F+WINS+server&amp;amp;mkt=en-us&amp;amp;FORM=LIVSOP" target="_blank"&gt;1F Wins Server&lt;/a&gt; into live.com and the first hit was the issue.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;SPA roles:&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;There is more than just the "system overview" template, there are templates for AD, print servers, terminal servers, etc.&amp;nbsp; Each one of these templates focuses on that role and collects different counters depending on the role.&amp;nbsp; For example, on a DC SPA will capture the DS perfmon counters and then analyze the output from those counter and flag issues it finds for follow-up.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;Conclusion:&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Using SPA I was able to easily find the network client causing the issue on our WINS server and then correlate that with the network capture.&amp;nbsp; This is only one example of where SPA has really assisted in narrowing down the issue for me.&amp;nbsp; One caveat, SPA is CPU intensive when it compiles the report, so if the system is already pegged at 100% its best to compile the report off the the system in question.&lt;/p&gt; &lt;p&gt;If you run into any issues with SPA (only supported on Win2k3), send me an e-mail or drop a comment and I'll try to help you out.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt; &lt;div class="wlWriterSmartContent" id="0767317B-992E-4b12-91E0-4F059A8CECA8:495e2242-90f2-4d1b-ac6c-a960d4af8e97" contenteditable="false" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;Technorati tags: &lt;a href="http://technorati.com/tags/Windows%202003" rel="tag"&gt;Windows 2003&lt;/a&gt;, &lt;a href="http://technorati.com/tags/SPA" rel="tag"&gt;SPA&lt;/a&gt;&lt;/div&gt;&lt;/p&gt; &lt;div class="wlWriterSmartContent" id="0767317B-992E-4b12-91E0-4F059A8CECA8:0c88e87b-4d07-4aa9-9215-914347f32810" contenteditable="false" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;IceRocket tags: &lt;a href="http://blogs.icerocket.com/search?q=Windows%202003" rel="tag"&gt;Windows 2003&lt;/a&gt;, &lt;a href="http://blogs.icerocket.com/search?q=SPA" rel="tag"&gt;SPA&lt;/a&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=1368601" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Business+up+front/default.aspx">Business up front</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+2003/default.aspx">Windows 2003</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Metrics/default.aspx">Metrics</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Cool+Tools/default.aspx">Cool Tools</category></item><item><title>How to easily calculate your system availability (uptime).</title><link>http://blogs.technet.com/brad_rutkowski/archive/2007/04/24/how-to-easily-calculate-your-system-availability-uptime.aspx</link><pubDate>Tue, 24 Apr 2007 20:39:17 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:816170</guid><dc:creator>Brad Rutkowski</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/brad_rutkowski/comments/816170.aspx</comments><wfw:commentRss>http://blogs.technet.com/brad_rutkowski/commentrss.aspx?PostID=816170</wfw:commentRss><description>&lt;p&gt;&lt;img src="https://www.microsoft.com/library/media/1033/technet/images/34x34/44937_34x34_download_f.jpg"&gt; We all have managers and ALL managers love that little word called metrics, and ALL managers like to know that their service has 99.99% uptime.&amp;nbsp; So how can you easily get this information off a Windows server?&amp;nbsp; Well there is a simple tool out there called &lt;a title="Uptime.exe download" href="http://support.microsoft.com/kb/232243" target="_blank"&gt;uptime.exe&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;To get the uptime of&amp;nbsp;a server use: Uptime.exe /s &amp;lt;servername&amp;gt;.&amp;nbsp; If the system log has "wrapped" then your not going to get the events you need to get a good uptime report from the beginning.&amp;nbsp; Uptime will show you each reboot and then at the bottom report give you valuable data that you can then put in a nice spreadsheet and send up to management.&amp;nbsp; &lt;/p&gt; &lt;p&gt;Perhaps I should start a new section called metrics, because there are quite a few other easy things you can do to get relevant information to managers...&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;C:\localbin&amp;gt;uptime /s brad-dc-02&lt;br&gt;Uptime Report for: &lt;/font&gt;&lt;a href="$brad-dc-02"&gt;&lt;font face="Courier New" size="2"&gt;\\brad-dc-02&lt;/font&gt;&lt;/a&gt;&lt;font face="Courier New" size="2"&gt; &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Current OS: Microsoft Windows Server 2003, Service Pack 1, Multiprocessor Free.&lt;br&gt;Time Zone: Pacific Daylight Time &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;System Events as of 4/24/2007 10:27:16 AM: &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Date: Time: Event: Comment:&lt;br&gt;---------- ----------- ------------------- -----------------------------------&lt;br&gt;2/5/2007 1:50:11 PM Boot Prior downtime:0d 0h:1m:54s&lt;br&gt;2/5/2007 2:01:34 PM Shutdown Prior uptime:0d 0h:11m:23s&lt;br&gt;2/5/2007 2:03:30 PM Boot Prior downtime:0d 0h:1m:56s&lt;br&gt;2/5/2007 2:11:31 PM Abnormal Shutdown Prior uptime:0d 0h:8m:1s&lt;br&gt;2/5/2007 2:15:30 PM Boot Prior downtime:0d 0h:3m:59s&lt;br&gt;2/5/2007 2:15:31 PM Bluescreen STOP 0x0000000a&lt;br&gt;2/6/2007 12:22:12 PM Shutdown Prior uptime:0d 22h:6m:42s&lt;br&gt;2/6/2007 12:23:57 PM Boot Prior downtime:0d 0h:1m:45s&lt;br&gt;2/12/2007 1:08:06 PM Shutdown Prior uptime:6d 0h:44m:9s&lt;br&gt;2/12/2007 1:09:54 PM Boot Prior downtime:0d 0h:1m:48s&lt;br&gt;2/12/2007 1:54:09 PM Shutdown Prior uptime:0d 0h:44m:15s&lt;br&gt;2/12/2007 1:55:57 PM Boot Prior downtime:0d 0h:1m:48s&lt;br&gt;2/12/2007 2:15:49 PM Service Pack Service Pack 3 removed&lt;br&gt;2/12/2007 2:16:21 PM Shutdown Prior uptime:0d 0h:20m:24s&lt;br&gt;2/12/2007 2:18:05 PM Boot Prior downtime:0d 0h:1m:44s&lt;br&gt;2/12/2007 2:31:20 PM Shutdown Prior uptime:0d 0h:13m:15s&lt;br&gt;2/12/2007 2:33:06 PM Boot Prior downtime:0d 0h:1m:46s&lt;br&gt;2/12/2007 2:45:34 PM Service Pack Service Pack 3 removed&lt;br&gt;2/12/2007 2:48:06 PM Shutdown Prior uptime:0d 0h:15m:0s&lt;br&gt;2/12/2007 2:50:29 PM Boot Prior downtime:0d 0h:2m:23s&lt;br&gt;2/24/2007 12:09:42 AM Shutdown Prior uptime:11d 9h:19m:13s&lt;br&gt;2/24/2007 12:12:13 AM Boot Prior downtime:0d 0h:2m:31s&lt;br&gt;3/27/2007 12:26:16 PM Shutdown Prior uptime:31d 11h:14m:3s&lt;br&gt;3/27/2007 12:27:57 PM Boot Prior downtime:0d 0h:1m:41s&lt;br&gt;4/7/2007 12:04:53 AM Shutdown Prior uptime:10d 11h:36m:56s&lt;br&gt;4/7/2007 12:07:20 AM Boot Prior downtime:0d 0h:2m:27s&lt;br&gt;4/20/2007 9:45:10 PM Shutdown Prior uptime:13d 21h:37m:50s&lt;br&gt;4/20/2007 9:47:11 PM Boot Prior downtime:0d 0h:2m:1s &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Current System Uptime: 3 day(s), 12 hour(s), 40 minute(s), 38 second(s) &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;-------------------------------------------------------------------------------- &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Since 11/3/2005: &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;System Availability: 99.9860%&lt;br&gt;Total Uptime: 460d 5h:51m:10s&lt;br&gt;Total Downtime: 0d 1h:48m:13s&lt;br&gt;Total Reboots: 31&lt;br&gt;Mean Time Between Reboots: 17.31 days&lt;br&gt;Total Bluescreens: 1&lt;/font&gt;  &lt;p&gt;&amp;nbsp;If you only want to see the uptime for the last 30 days then you can use the p: switch, there are other switches too.&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;C:\localbin&amp;gt;uptime /s&amp;nbsp;brad-dc-01 /p:30&lt;br&gt;Uptime Report for: &lt;/font&gt;&lt;a href="$brad-dc-01"&gt;&lt;font face="Courier New" size="2"&gt;\\brad-dc-01&lt;/font&gt;&lt;/a&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Current OS: Microsoft Windows Server 2003, Service Pack 1, Multiprocessor Free.&lt;br&gt;Time Zone: Pacific Daylight Time &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;System Events as of 4/24/2007 10:28:53 AM: &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Date: Time: Event: Comment:&lt;br&gt;---------- ----------- ------------------- -----------------------------------&lt;br&gt;3/27/2007 12:26:16 PM Shutdown Prior uptime:31d 11h:14m:3s&lt;br&gt;3/27/2007 12:27:57 PM Boot Prior downtime:0d 0h:1m:41s&lt;br&gt;4/7/2007 12:04:53 AM Shutdown Prior uptime:10d 11h:36m:56s&lt;br&gt;4/7/2007 12:07:20 AM Boot Prior downtime:0d 0h:2m:27s&lt;br&gt;4/20/2007 9:45:10 PM Shutdown Prior uptime:13d 21h:37m:50s&lt;br&gt;4/20/2007 9:47:11 PM Boot Prior downtime:0d 0h:2m:1s &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Current System Uptime: 3 day(s), 12 hour(s), 42 minute(s), 14 second(s) &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;-------------------------------------------------------------------------------- &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Since 3/25/2007: (Last 30 Days) &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;System Availability: 99.9860%&lt;br&gt;Total Uptime: 30d 10h:22m:44s&lt;br&gt;Total Downtime: 0d 0h:6m:9s&lt;br&gt;Total Reboots: 3&lt;br&gt;Mean Time Between Reboots: 10.15 days&lt;br&gt;Total Bluescreens: 0&lt;br&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;&lt;/p&gt; &lt;div class="wlWriterEditableSmartContent" id="0767317B-992E-4b12-91E0-4F059A8CECA8:174e1707-d8fe-4950-b0f6-c4c72c0ca923" contenteditable="false" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;Technorati tags: &lt;a href="http://technorati.com/tags/Windows" rel="tag"&gt;Windows&lt;/a&gt;, &lt;a href="http://technorati.com/tags/Vista" rel="tag"&gt;Vista&lt;/a&gt;, &lt;a href="http://technorati.com/tags/Windows%202003" rel="tag"&gt;Windows 2003&lt;/a&gt;&lt;/div&gt;&lt;/font&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;div class="wlWriterEditableSmartContent" id="0767317B-992E-4b12-91E0-4F059A8CECA8:f94e8ddd-fd8b-4f6f-b067-6423475f68ca" contenteditable="false" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;del.icio.us tags: &lt;a href="http://del.icio.us/popular/Windows" rel="tag"&gt;Windows&lt;/a&gt;, &lt;a href="http://del.icio.us/popular/Vista" rel="tag"&gt;Vista&lt;/a&gt;, &lt;a href="http://del.icio.us/popular/Windows%202003" rel="tag"&gt;Windows 2003&lt;/a&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=816170" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Business+up+front/default.aspx">Business up front</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Vista+and+Lognhorn/default.aspx">Vista and Lognhorn</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Windows+2003/default.aspx">Windows 2003</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Metrics/default.aspx">Metrics</category><category domain="http://blogs.technet.com/brad_rutkowski/archive/tags/Cool+Tools/default.aspx">Cool Tools</category></item></channel></rss>