{"id":19,"date":"2007-08-13T10:38:04","date_gmt":"2007-08-13T10:38:04","guid":{"rendered":"http:\/\/test.bleuanus.nl\/index.php\/performance-logs\/"},"modified":"2018-12-11T16:09:09","modified_gmt":"2018-12-11T15:09:09","slug":"performance-logs","status":"publish","type":"post","link":"https:\/\/www.bleuanus.nl\/index.php\/2007\/08\/13\/performance-logs\/","title":{"rendered":"Performance Logs"},"content":{"rendered":"<p class=\"last-modified\">This post was most recently updated on December 11th, 2018<\/p><h3><font size=\"3\">Introduction to Performance Monitor Logs<\/font><\/h3>\n<p><font size=\"2\">Creating and interpreting logs is the key to monitoring your Windows 2003 servers and network performance.? The logs are the central blank in your strategy to discover and remove bottlenecks from your system.? This page concentrates on creating a log of your server&#8221;s activity, however there are other tactics, for example, creating Alerts.<\/font><\/p>\n<p><font size=\"2\">Our first mission is to collect data about your server&#8221;s memory, processor, disks and network.? In addition to monitoring the Windows Server operating system, we often need to collect SQL and Exchange counters.? The benefit of creating a log is that we can analyse hours of performance at leisure.? The alternative of constantly watching the System Monitor soon wears off.<\/font><\/p>\n<p><font size=\"2\">Another advantage of studying logs rather than viewing System Monitor is that you can use logs to track trends.? If necessary, you can go back months to confirm a change in resource usage.? Moreover, if you keep old logs then you can see precisely when a problem originated.<\/font><\/p>\n<h3><font size=\"2\"><font size=\"3\">Performance Log Topics<\/font> <\/font><\/h3>\n<ul>\n<li><a href=\"#Creating your log\"><font size=\"2\">Creating your first Log<\/font><\/a><font size=\"2\">? <\/font><\/li>\n<li><a href=\"#Viewing your log\"><font size=\"2\">Viewing your Log<\/font><\/a><font size=\"2\">? <\/font><\/li>\n<li><a href=\"#Save Settings As\"><font size=\"2\">Save Settings As &#8211; Formats<\/font><\/a><font size=\"2\">? <\/font><\/li>\n<li><a href=\"#Summary_of_First_Log_\"><font size=\"2\">Summary of First Log<\/font><\/a><font size=\"2\">? <\/font><\/li>\n<\/ul>\n<p><font size=\"2\">? <\/font><\/p>\n<p><font size=\"2\"><font size=\"3\"><strong>Performance Monitor Logs<\/strong><\/font> <\/font><\/p>\n<p><font size=\"2\">Whilst this page will show you how to create logs with Performance Monitor, it does assume that you are familiar with Windows 2003&#8221;s System Monitor interface. (<\/font><a href=\"GettingStarted.htm\"><font size=\"2\">See here for a refresher)<\/font><\/a><\/p>\n<table id=\"AutoNumber2\" style=\"padding-right: 6px; padding-left: 4px; margin-left: 4%; border-collapse: collapse\" bordercolor=\"#111111\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n<tbody>\n<tr>\n<td style=\"padding-right: 10px\" valign=\"top\" width=\"50%\">\n<h3><a name=\"Creating your log\"><font size=\"2\">Creating your first log <\/font><\/a><\/h3>\n<p><font size=\"1\">The performance monitor log, holds all the counters of all the objects and that you wish to track.? The advantages of a log over the System Monitor is that the log captures the data permanently in an actual file. <\/font><\/p>\n<ol>\n<li>\n<p style=\"margin-bottom: 8px\"><font size=\"1\">To create a log, open performance monitor, go down past System Monitor to Performance Logs and Alerts, select Counter Logs. (See Diagram? 1) <\/font><\/p>\n<\/li>\n<li>\n<p style=\"margin-bottom: 8px\"><font size=\"1\">When the dialog box appears, give the log a meaningful name, for example the name of the server or object.? The first time you save a log you are prompted to create a folder, accept Perflogs as the directory name. <\/font><\/p>\n<\/li>\n<li>\n<p style=\"margin-bottom: 8px\"><font size=\"1\">Next you have a choice of button, either click on Add <u>O<\/u>bjects or click on Add Counters.? Let us begin with Add Objects, because it is simpler and you will not miss any instances.? (See Diagram? 2) <\/font><\/p>\n<\/li>\n<li>\n<p style=\"margin-bottom: 8px\"><font size=\"1\">An old trick is to use the control key as you pick multiple counters. <\/font><\/p>\n<\/li>\n<li>\n<p style=\"margin-bottom: 8px\"><font size=\"1\">Setting the time interval is tricky.? The trade-off is event accuracy versus log disk space.? My advice is to leave the timing at the default 15 seconds &#8211; for now. <\/font><\/p>\n<\/li>\n<li>\n<p style=\"margin-bottom: 8px\"><font size=\"1\">When you are ready, click the A<u>d<\/u>d button (down at the bottom of Diagram 2.)? If you make a mistake you can always go back, select the log Properties and adjust the selections. <\/font><\/p>\n<\/li>\n<li>\n<p style=\"margin-bottom: 8px\"><font size=\"1\">I like the way that as soon as you have finished creating a log, the icon color turns from red to green.? You probably guessed that a Right Click followed by Start or Stop, acts like a tap turning the log collection on or off. <\/font><\/p>\n<\/li>\n<li>\n<p style=\"margin-bottom: 8px\"><font size=\"1\">With experience, you can be more choosy and pick only Counters you really need.? The benefits of selectivity are, that you will quickly find the data in the log, and that the log will consume less disk space. <\/font><\/p>\n<\/li>\n<li>\n<p style=\"margin-bottom: 8px\"><font size=\"1\">Leave the log for 5 minutes and then move on to the next section &#8211; viewing your log. <\/font><\/p>\n<\/li>\n<\/ol>\n<p><strong><font size=\"2\">Logman<\/font><\/strong><\/p>\n<p><font size=\"2\">For those who like the command prompt, there is a utility called: logman.? Personally, I find the syntax too difficult for regular use, but I agree with &#8221;Mad&#8221; Mick, you can use logman in batch files.<\/font><\/p>\n<\/td>\n<td style=\"padding-left: 12px\" width=\"50%\">\n<p style=\"text-align: center\"><strong><a href=\"http:\/\/192.168.178.50\/admin\/images\/Computer\/FirstLog.jpg\"><font size=\"2\"><img loading=\"lazy\" decoding=\"async\" height=\"226\" alt=\"Creating a Performance Log\" hspace=\"0\" width=\"320\" border=\"2\" xthumbnail-orig-image=\"..\/images\/Computer\/FirstLog.jpg\" src=\"\/media\/images\/windows2003\/logfiles\/FirstLog.jpg\" \/><\/font><\/a><\/strong><\/p>\n<p style=\"text-align: center\"><strong><font size=\"2\">Diagram 1 (Above)<\/font><\/strong><\/p>\n<p style=\"text-align: center\"><a href=\"http:\/\/192.168.178.50\/admin\/images\/Computer\/FirstLogObjects.jpg\"><font size=\"2\"><img loading=\"lazy\" decoding=\"async\" height=\"470\" alt=\"Performance Monitor - Objects and Counters\" hspace=\"0\" width=\"320\" border=\"2\" xthumbnail-orig-image=\"..\/images\/Computer\/FirstLogObjects.jpg\" src=\"\/media\/images\/windows2003\/logfiles\/FirstLogObjects_small.jpg\" \/><\/font><\/a><\/p>\n<p style=\"text-align: center\"><strong><font size=\"2\">Diagram 2 (Above)<\/font><\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding-right: 10px\" valign=\"top\" width=\"100%\" colspan=\"2\"><!--webbot bot=\"Include\" U-Include=\"..\/ThemesGuy\/google_bannermiddle2.htm\" TAG=\"BODY\" startspan -->            <\/p>\n<div id=\"navigationCenter\">\n<p style=\"margin-bottom: 12px\"><script type=\"text\/javascript\"><\/script><script src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\" type=\"text\/javascript\"><\/script><font face=\"Times New Roman\" size=\"2\">\u00a9<\/font><\/p>\n<\/p><\/div>\n<p>            <!--webbot bot=\"Include\" i-checksum=\"36536\" endspan --><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table id=\"AutoNumber3\" style=\"padding-right: 6px; padding-left: 4px; margin-left: 4%; border-collapse: collapse\" bordercolor=\"#111111\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n<tbody>\n<tr>\n<td style=\"padding-right: 7px\" valign=\"top\" width=\"50%\">\n<h3><a name=\"Viewing your log\"><font size=\"2\">Viewing your log <\/font><\/a><\/h3>\n<p><font size=\"2\">Trust me!? Have faith that your performance monitor log has collected reams of data.? I say this because every time I examine a log, for a split second I think, &#8221;It&#8221;s empty&#8221;. <\/font><\/p>\n<p><font size=\"2\">? <\/font><\/p>\n<ol>\n<li><font size=\"2\">Firstly stop your log by right clicking on the green icon.? Remember that the system Monitor normally collects live data, well now we are going to persuade it to interrogate the log we created earlier. <\/font><\/li>\n<li><font size=\"2\">The first of two crucial steps is to select the Lo<br \/>\ng icon, see the red ring in Diagram? 3.? Next find your log file in the Perflogs folder and press OK. <\/font><\/li>\n<li><font size=\"2\">For the second crucial step, go to the + and select the Object and Counters you wish to examine.? Start with Processor: % Processor time then press on A<u>d<\/u>d.? You should now see a static line, see Diagram 4. Success! <\/font><\/li>\n<li><font size=\"2\">At your leisure, you can add more Objects and Counters, as you do so, note that the only objects available are those you choose when the log was created.? This is an important lesson for when you create future logs. <\/font><\/li>\n<li><font size=\"2\">After you have added the counters and admired their traces, you will be struck by the similarity between the Log view and a pure System Monitor capture.? The only difference is that the logs are static. <\/font><\/li>\n<li><font size=\"2\">If you wish to adjust the time frame, right click any where on the graph, click the Source (Tab) and slide the grey bar underneath the <u>T<\/u>ime Range. <\/font><\/li>\n<\/ol>\n<p><font size=\"2\">? <\/font><\/p>\n<\/td>\n<td style=\"padding-left: 12px\" width=\"50%\">\n<p><a href=\"http:\/\/192.168.178.50\/admin\/images\/Computer\/FirstLogView.jpg\"><font size=\"2\"><img loading=\"lazy\" decoding=\"async\" height=\"348\" alt=\"Performance Monitor - Log\" hspace=\"0\" width=\"320\" border=\"2\" xthumbnail-orig-image=\"..\/images\/Computer\/FirstLogView.jpg\" src=\"\/media\/images\/windows2003\/logfiles\/FirstLogView_small1.jpg\" \/><\/font><\/a><\/p>\n<p style=\"text-align: center\"><strong><font size=\"2\">Diagram 3 (above)<\/font><\/strong><\/p>\n<p style=\"text-align: center\"><font size=\"2\">? <\/font><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding-right: 7px\" valign=\"top\" width=\"100%\" colspan=\"2\">\n<h3 style=\"text-align: left\"><a name=\"Save Settings As\"><font size=\"2\">Save Settings As<\/font><\/a><font size=\"2\">? <\/font><\/h3>\n<p style=\"text-align: left\"><font size=\"2\">To re-use your counters for future logging, right click the counter in the Performance Monitor console, then select Save Settings As; note the .htm format.? As a bonus, you can now open the file in Internet Explorer and track the System Monitor.? I guess everything is web based these days.<\/font><\/p>\n<h3 style=\"text-align: left\"><font size=\"2\">Log Formats <\/font><\/h3>\n<p style=\"text-align: left\"><font size=\"2\">Text File: &#8211; Tab or Comma Delimited.? Best for 95% of all counter logs.<\/font><\/p>\n<p style=\"text-align: left\"><font size=\"2\">Binary: &#8211; Useful for intermittent data.<\/font><\/p>\n<p style=\"text-align: left\"><font size=\"2\">SQL Database:? You need the name of an existing SQL database.? Used for recording lots of data about lots of servers, the enterprise scenario.<\/font><\/p>\n<h3 style=\"text-align: left\"><font size=\"2\">The next step &#8211; Schedule those logs <\/font><\/h3>\n<p style=\"text-align: left\"><font size=\"2\">Create a schedule so that logs start automatically early in the morning, and run thought the day until everyone has gone home.? In fact, you may want to run the log for the full 24 hrs, I once used a log to un-earth a problem caused by backup in the middle of the night.<\/font><\/p>\n<p style=\"text-align: left\"><font size=\"2\">You may wish to run a test log for 10 minutes and check how big it gets, then multiply up by how many hours you wish to run the log.? As a result of your test, you may want to move the log to a folder on a partition with more free space.<\/font><\/p>\n<p style=\"text-align: left\"><font size=\"2\">To configure a schedule, right click your counter log, properties, Schedule Tab.<\/font><\/p>\n<h3 style=\"text-align: left\"><a name=\"Summary_of_First_Log_\"><font size=\"2\">Summary of First Log<\/font><\/a><\/h3>\n<p style=\"text-align: left\"><font size=\"2\">With a little guidance you will soon be able to create Performance Logs for your Windows 2003 servers.? Once you learn the technique and understand the menu items, you will soon be creating logs to check for bottlenecks on your network.<\/font><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>This post was most recently updated on December 11th, 2018Introduction to Performance Monitor Logs Creating and interpreting logs is the key to monitoring your Windows 2003 servers and network performance.? The logs are the central blank in your strategy to discover and remove bottlenecks from your system.? This page concentrates on creating a log of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-19","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts\/19","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/comments?post=19"}],"version-history":[{"count":1,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts\/19\/revisions"}],"predecessor-version":[{"id":258,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts\/19\/revisions\/258"}],"wp:attachment":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/media?parent=19"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/categories?post=19"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/tags?post=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}