zoukankan      html  css  js  c++  java
  • How to monitor Web server performance by using counter logs in System Monitor in IIS

    How to monitor Web server performance by using counter logs in System Monitor in IIS

    Article ID: 313064 - View products that this article applies to.
    Retired KB ArticleRetired KB Content Disclaimer
    This article was previously published under Q313064
    Expand all | Collapse all

    On This Page

    • SUMMARY
      • How to Create a Counter Log
      • How to Configure a Counter Log
      • How to Choose Counters
    • REFERENCES
    • Properties
    • Give Feedback

    SUMMARY

    This step-by-step article describes how to create and configure counter logs in System Monitor so that you can monitor Web server performance. 

    In System Monitor, you can create logs to automatically collect server activity data at specified intervals. You can then use this data to help you identify the cause of delays, and to tune your server for optimal performance. 

    System Monitor uses counters to track the activity of specific objects (services or mechanisms that control server resources). In addition to the objects and counters that are included with Microsoft Windows 2000 Server, Internet Information Services (IIS) 5.0 installs counters that monitor Web server performance. These counters include global IIS counters, Web service counters, File Transfer Protocol (FTP) service counters, and Active Server Pages (ASP) program counters. Global IIS counters monitor the activity of all IIS services, such as bandwidth usage and caching. Web service, FTP service, and ASP program counters monitor connection activity. 

    How to Create a Counter Log

    To create a counter log:
    1. Click Start, point to Programs, point to Administrative Tools, and then click Performance.
    2. Double-click Performance Logs and Alerts in the console tree, and then click Counter Logs.
    3. Right-click an empty area in the right details pane.
    4. Type a name for the log in the New Log Settings dialog box, and then click OK.
    5. Click the General tab, and then click Add.
    6. Click the object that you want to monitor (for example, click Web Service) in the Performance object box, click either All counters or Select counters from list, and then click the counter or counters that you want to log. 

      NOTE: To view a description of a counter, click the counter, and then click Explain.
    7. To monitor all instances of the selected counter, click All instances. To monitor specific instances of the selected counters, click Select instances from list, and then click the instances that you want to monitor.
    8. Click Add.
    9. Repeat step 6 through step 8 to add the counters that you want to log. When you are finished, click Close.
    10. Specify the value that you want in the Interval box, and then click the unit of time that you want in the Unit box.
    11. Click OK.

    How to Configure a Counter Log

    To configure a counter log:
    1. Click Start, point to Programs, point to Administrative Tools, and then click Performance.
    2. Double-click Performance Logs and Alerts in the console tree, and then click Counter Logs.
    3. Double-click the log that you want to configure in the right details pane.
    4. Click the Log Files tab, and then specify the options that you want by performing any of the following steps:
      • Accept the default location or specify the location that you want for the log file in the Log file name box, and then specify the log file name options that you want.
      • Specify the format that you want for the log file in the Log file type box. For example, Binary File.
      • Specify whether you want to limit the size of the log file in the Log file size box.
    5. Click the Schedule tab, and then use the following steps:
      1. To configure logging in the Start log box:
        • To configure the logging to start manually, click Manually (using the shortcut menu). 

          -or-
        • To configure the logging to start at a specified time and date, click At, and then specify the time and date that you want the logging to start.
      2. Use the following steps to configure the information in the Stop log box:
        • Click Manually (using the shortcut menu) to manually stop the logging. 

          -or-
        • Click After, and then specify a period of time after which the logging automatically stops. 

          -or-
        • Click At, and then specify the time and date that you want the logging to stop. 

          -or-
        • Click When the size log file is full, where size is the log file size limit that you set on the Log Filestab. This option is available only if you specify a log file size limit in the Limit of box on the Log Filestab.
      3. Specify the option that you want (if any) in the When a log file closes box.
    6. Click OK.

    How to Choose Counters

    There are hundreds of counters from which you can choose to monitor server activity. The following list describes the counters that are useful for monitoring the load on your Web server, and provides ideal values for each. 

     
     
    Object or counterIdeal value
    Memory or pages per second Zero to 20 (indicates trouble if over 80)
    Memory or available bytes At least 4 megabytes (MB)
    Memory or committed bytes Not more than 75 percent of physical memory size
    Memory or pool nongpaged bytes Steady (a slow rise may indicate a memory leak)
    Processor or percent of processor time Less than 75 percent
    Processor or system processor queue length Less than 2
    Disk (logical or physical) or percent disk time As low as possible
    Disk (logical or physical) or queue length Less than 2
    Disk (logical or physical) or average disk bytes per transfer As high as possible
    IIS global or cache hits percent As high as possible
    Web service or bytes total per second As high as possible
    ASP or request wait time As low as possible
    ASP or requests queued Zero
    ASP or transactions per second As high as possible
    Back to the top | Give Feedback

    REFERENCES

    For more information about how to create and use counter logs in which to monitor server performance, click the following article numbers to view the articles in the Microsoft Knowledge Base:
    248345 How to create a log using System Monitor in Windows
    238145 How to monitor bandwidth throttling
    For additional information about how to enable IIS logging, click the article number below to view the article in the Microsoft Knowledge Base:
    300390 How To Enable IIS Logging Site Activity
    For more information about how to optimize IIS, click the following article numbers to view the articles in the Microsoft Knowledge Base:
    308186 How to optimize Web server performance in Windows 2000
    305313 Optimizing Internet Information Services 5.0
    For more information, click the following article number to view the article in the Microsoft Knowledge Base:
    323312 How to create an IIS baseline by using performance log analysis
    For more information about how to gather individual baseline information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
    323314 How to create an IIS baseline by using the Memory object
    323315 How to create an IIS baseline by using the Processor object
    323316 How to create an IIS baseline by using the Active Server pages object
    323317 How to create an IIS baseline by using the Web service object
    Back to the top | Give Feedback

    Properties

    Article ID: 313064 - Last Review: February 5, 2007 - Revision: 3.4
    APPLIES TO
    • Microsoft Internet Information Services 5.0
    Keywords: 
    kbenv kbhowto kbhowtomaster KB313064
    Retired KB Content Disclaimer
    This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
    Back to the top | Give Feedback

    Give Feedback

     
    Provide feedback on this information
     
     
    Did this information solve your problem?
     
     
    Yes
    No
    I don't know
    Was this information relevant?
     
     
    Yes
    No
    How much effort did you personally put forth to use this article?
     
     
    Very low
    Low
    Moderate
    High
    Very high
    What can we do to improve this information?
     
     
    To protect your privacy, do not include contact information in your feedback.
     
     
         
    Back to the topBack to the top
     
    Powered By D&J (URL:http://www.cnblogs.com/Areas/)
    查看全文
  • 相关阅读:
    【java开发需要的环境资源以及开发工具】慢慢更新
    【如何编写有质量代码】【转】
    base——JavaSE&&JavaEE&&JavaME的区别【Java中常用的包结构】
    Mysqlsql——And【sql语句之为何用and一个字段两个值得不到表中的数据】
    Struts2——执行流程
    base——本地资源路径&&网络资源路径&&正反斜杠在Java中的用法
    base——new File(String Path)加载资源问题
    2019-06-11_Python中文编码
    2019-06-11-Python简介
    2019-06-05 org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.taotao.search.mapper.SearchItemMapper.getItemList
  • 原文地址:https://www.cnblogs.com/Areas/p/2726163.html
  • 最新文章
  • hive学习03-求一年中的最大温度
    mysql运维
    version_compare ()
    ini_set()
    error_reporting()
    关于80端口被占用
    在centos8搭建dhcp服务
    防火墙典型配置
    【记录一个问题】MariaDB 10.1.9 中with rollup的神器问题
    【记录一个问题】linux+opencv+cuvid解码1080P视频,当使用CUDA核函数的时候,必然崩溃
  • 热门文章
  • 【记录一个问题】cv::cuda::BufferPool发生assert错误
    【视频解码性能对比】opencv + cuvid + gpu vs. ffmpeg + cpu
    linux + opencv + cuvid中使用cv::cuda::GpuMat类的一些坑
    【记录一个问题】linux + opencv + gpu视频解码,好不容易编译通过,运行又coredump了
    linux中链接错误的时候,快速找到缺失的符号在哪个库中
    opencv 4.0 + linux + cuda静态编译
    opencv 4.0 + linux下静态编译,展示详细ccmake的参数配置
    【初体验】valgrind分析程序性能
    base——浮点类型
    base——整数类型&&进制
Copyright © 2011-2022 走看看