zoukankan      html  css  js  c++  java
  • 性能测试:监控web服务器--apache

    Apache采用模块化的设计,模块安装后就可以为Apache内核增加相应的新功能。默认情况下Apache已经安装部分模块,用户也可以使用模块配置,自定义Apache服务器中需要安装哪些功能,这正是Apache灵活性的表现。常见的功能模块有:

    模块名 功能说明
    mod_actions.so 运行基于MIME类型的CGI脚本
    mod_alias.so  支持虚拟目录和页面重定向
    mod_asis 发送包含自定义HTTP头的文件
    mod_auth_basic.so 基本验证
    mod_auth_digest.so 使用MD5加密算法的用户认证
    mod_authn_alias.so  允许使用第三方验证
    mod_authn_anon.so  允许匿名用户访问认证的区域
    mod_authn_dbd.so 使用数据库保存用户验证信息
    mod_authn_dbm.so  使用DBM数据文件保存用户验证信息
    mod_authn_default.so 处理用户验证失败
    mod_authn_file.so  使用文本文件保存用户验证信息
    mod_authnz_ldap.so 使用LDAP目录进行用户验证
    mod_authz_default.so  处理组验证失败
    mod_authz_groupfile.so 使用plaintext文件进行验证
    mod_authz_host.so 基于主机的组验证
    mod_authz_user.so  用户验证模块
    mod_autoindex.so   生成目录索引
    mod_cache.so 通向URI的内容缓存
    mod_cgi.so 支持CGI脚本
    mod_cgid.so 使用外部CGI进程运行CGI脚本
    mod_dir.so 提供用于trailing slash的目录和索引文件
    mod_env.so 调整传输个给CGI脚本和SSI页面的环境变量
    mod_example.so 解释Apache模块的API
    mod_filter.so  过滤信息
    mod_imagemap.so imagemap处理
    mod_include.so 解析HTML文件
    mod_isapi.so ISAPI扩展
    mod_ldap.so 使用第三方LDAP模块进行LDAP连接和服务
    mod_log_config.so 记录发给服务器的访问请求
    mod_login.so 记录每个请求输入、输出的字节数
    mod_mime.so 联合被请求文件扩展名和文件行为的内容
    mod_negotiation.so 提供内容协商
    mod_nw_ssl 为NetWare打开SSL加密
    mod_proxy.so 支持HTTP1.1协议的代理和网关服务器
    mod_proxy_ajp.so mod_proxy的AJP支持模块
    mod_proxy_balancer.so mod_proxy的负载均衡模块
    mod_proxy_ftp.so mod_proxy的ftp支持模块
    mod_proxy_http.so mod_proxy的HTTP支持模块
    mod_setenvif.so 允许设置基于请求的环境变量
    mod_so.so 在启动或重启时提高可执行编码和模块的启动
    mod_ssl.so 使用SSL和TLS的加密
    mod_status.so 提供服务器性能运行信息
    mod_userdir.so 设置每个用户的网站目录
    mod_usertrack.so 记录用户在网站上的活动
    mod_vhost_alias.so 提供大量虚拟主机的动态配置

    其中mod_status.so模块提供了服务器性能运行信息的管理功能,能够监控apache服务器的运行状态数据。服务器的状态信息通常是server-status中的handler调用。

    监控地址:

    http://IP/server-status     ###显示统计信息,而非动态信息

    http://IP/server-status?refresh=N,N是更新时间,默认是秒   ###显示动态信息

    具体如何实现监控,请参考:https://www.west.cn/docs/48920.html  及 https://www.west.cn/docs/48920.html,这里不再赘述。

  • 相关阅读:
    例题6-8 Tree Uva548
    例题6-7 Trees on the level ,Uva122
    caffe Mac 安装
    Codeforces Round #467 (Div. 1) B. Sleepy Game
    Educational Codeforces Round37 E
    Educational Codeforces Round 36 (Rated for Div. 2) E. Physical Education Lessons
    Good Bye 2017 E. New Year and Entity Enumeration
    Good Bye 2017 D. New Year and Arbitrary Arrangement
    Codeforces Round #454 D. Seating of Students
    浙大紫金港两日游
  • 原文地址:https://www.cnblogs.com/apple2016/p/14518925.html
Copyright © 2011-2022 走看看