<?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>Two Minute Drill: LOGMAN.EXE</title><link>http://blogs.technet.com/b/askperf/archive/2008/05/13/two-minute-drill-logman-exe.aspx</link><description>Today we are continuing on with our Two Minute Drill series. Our topic in this post is one that we discuss quite frequently with customers - namely the automation of creating Performance Monitor and Trace Logs. Most administrators are comfortable creating</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Two Minute Drill: LOGMAN.EXE</title><link>http://blogs.technet.com/b/askperf/archive/2008/05/13/two-minute-drill-logman-exe.aspx#3372049</link><pubDate>Tue, 30 Nov 2010 14:57:50 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3372049</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;I was having the same problem Ed Sun had and it was just because the remote machine from which I was collecting the performance counters was too busy.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3372049" width="1" height="1"&gt;</description></item><item><title>re: Two Minute Drill: LOGMAN.EXE</title><link>http://blogs.technet.com/b/askperf/archive/2008/05/13/two-minute-drill-logman-exe.aspx#3362974</link><pubDate>Wed, 20 Oct 2010 00:13:51 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3362974</guid><dc:creator>Mat Mirabito</dc:creator><description>&lt;p&gt;For anyone having the problem that MafruhaUnited was reporting, it&amp;#39;s likely that you need to save the import file as Unicode instead of ANSI.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3362974" width="1" height="1"&gt;</description></item><item><title>re: Two Minute Drill: LOGMAN.EXE</title><link>http://blogs.technet.com/b/askperf/archive/2008/05/13/two-minute-drill-logman-exe.aspx#3330354</link><pubDate>Wed, 05 May 2010 10:11:05 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3330354</guid><dc:creator>Kishore</dc:creator><description>&lt;p&gt;How to run multiple counter log files using single command. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3330354" width="1" height="1"&gt;</description></item><item><title>re: Two Minute Drill: LOGMAN.EXE</title><link>http://blogs.technet.com/b/askperf/archive/2008/05/13/two-minute-drill-logman-exe.aspx#3318528</link><pubDate>Thu, 11 Mar 2010 22:34:29 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3318528</guid><dc:creator>MafruhaUnited</dc:creator><description>&lt;p&gt;How do I match logman counter interval &amp;nbsp;time and create new file on each interval of collection.&lt;/p&gt;
&lt;p&gt;My colde is like this, but it is not showing me the result I want to have.&lt;/p&gt;
&lt;p&gt;&amp;quot;-si 00:00:15 -cnf 00:00:15&amp;quot; does not work togather&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3318528" width="1" height="1"&gt;</description></item><item><title>re: Two Minute Drill: LOGMAN.EXE</title><link>http://blogs.technet.com/b/askperf/archive/2008/05/13/two-minute-drill-logman-exe.aspx#3318158</link><pubDate>Wed, 10 Mar 2010 15:58:16 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3318158</guid><dc:creator>MafruhaUnited</dc:creator><description>&lt;p&gt;Can anyone give me a hint as Why my logman Import and export command is not working?&lt;/p&gt;
&lt;p&gt;The comand is as :&lt;/p&gt;
&lt;p&gt;C:\Windows\system32&amp;gt;logman import daily_perf_log &amp;nbsp;-xml &amp;quot;C:\PerfLogs\daily_log.x&lt;/p&gt;
&lt;p&gt;l&amp;quot;&lt;/p&gt;
&lt;p&gt;Error:&lt;/p&gt;
&lt;p&gt;Unspecified error&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;MafruhaUnited&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3318158" width="1" height="1"&gt;</description></item><item><title>re: Two Minute Drill: LOGMAN.EXE</title><link>http://blogs.technet.com/b/askperf/archive/2008/05/13/two-minute-drill-logman-exe.aspx#3310579</link><pubDate>Thu, 04 Feb 2010 10:27:51 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3310579</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;I've made a batch script, where during installation of the server (Windows 2003 or 2008) a counter log is created.&lt;/p&gt;
&lt;p&gt;On Windows 2008 it creates perfectly, but doesn't start even if the schedule is set ... so I've so start it manually.&lt;/p&gt;
&lt;p&gt;On Windows 2003 it creates perfectly and starts if the log file type ISEN'T binary circular file. If it's one of the other types it starts, but runs only for about 5 mins. even if I had set a max log on 100 MB and overwrite the file .....&lt;/p&gt;
&lt;p&gt;Any good ideas?????&lt;/p&gt;
&lt;p&gt;Hope so ... :o) Cheers ....&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3310579" width="1" height="1"&gt;</description></item><item><title>re: Two Minute Drill: LOGMAN.EXE</title><link>http://blogs.technet.com/b/askperf/archive/2008/05/13/two-minute-drill-logman-exe.aspx#3305074</link><pubDate>Tue, 12 Jan 2010 10:45:36 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3305074</guid><dc:creator>Balaji</dc:creator><description>&lt;p&gt;Hi, What is the use of -r option? Can someone explain it with an example?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3305074" width="1" height="1"&gt;</description></item><item><title>re: Two Minute Drill: LOGMAN.EXE</title><link>http://blogs.technet.com/b/askperf/archive/2008/05/13/two-minute-drill-logman-exe.aspx#3289809</link><pubDate>Wed, 28 Oct 2009 13:50:45 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3289809</guid><dc:creator>Tom Dietrich</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I've got a nightly batch file in place to stop my counters, zip them, move them, and then start them again. &amp;nbsp;The start command looks like this:&lt;/p&gt;
&lt;p&gt;logman -s P1CAS12 start &amp;quot;P1EXB01 - Exchange SP1&amp;quot; -v -cnf 4:00:00&lt;/p&gt;
&lt;p&gt;The command starts the counter fine, but the -cnf switch seems to be ignored. &amp;nbsp;-cnf = create new file, and it's set for 4 hours, but it doesn't work. &amp;nbsp;The counter runs all day until the nightly batch file stops it for the maintenance process.&lt;/p&gt;
&lt;p&gt;The problem is that this leaves me with a single 400MB log file, which is a nightmare to parse when troubleshooting. &amp;nbsp;We really need the switch to work and create a new file every 4 hours.&lt;/p&gt;
&lt;p&gt;The process works fine if I use the PERFMON GUI to start my counters using the Schedule tab and define the 4 hour interval. &amp;nbsp;But this needs to be automated.&lt;/p&gt;
&lt;p&gt;Any ideas why the -cnf switch isn't working right?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3289809" width="1" height="1"&gt;</description></item><item><title>re: Two Minute Drill: LOGMAN.EXE</title><link>http://blogs.technet.com/b/askperf/archive/2008/05/13/two-minute-drill-logman-exe.aspx#3282258</link><pubDate>Mon, 21 Sep 2009 15:09:48 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3282258</guid><dc:creator>CC Hameed</dc:creator><description>&lt;p&gt;@ SteveDJ - thanks for pointing this out. &amp;nbsp;I've corrected the error!&lt;/p&gt;
&lt;p&gt; - CC&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3282258" width="1" height="1"&gt;</description></item><item><title>re: Two Minute Drill: LOGMAN.EXE</title><link>http://blogs.technet.com/b/askperf/archive/2008/05/13/two-minute-drill-logman-exe.aspx#3279067</link><pubDate>Fri, 04 Sep 2009 02:04:04 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3279067</guid><dc:creator>SteveDJ</dc:creator><description>&lt;p&gt;There is a slight mistake in the samples above. &amp;nbsp;He uses &amp;quot;-si 2&amp;quot; and states that it &amp;quot;sets the Capture Interval at 2 hours&amp;quot;; this is incorrect - it sets the interval to 2 SECONDS.&lt;/p&gt;
&lt;p&gt;If you look at the context help, it shows the si option as taking the following: -si &amp;lt;[[hh:]mm:]ss&amp;gt;&lt;/p&gt;
&lt;p&gt;Note that if just the number 2 is given, it is 2 seconds, not 2 hours. &amp;nbsp;Adding a second number (i.e. 02:00) means 2 minutes. &amp;nbsp;If you want 2 hours like in the sample, you need to specify 02:00:00&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3279067" width="1" height="1"&gt;</description></item></channel></rss>