Apache:mod_status 统计信息与 apachetop 不同

mat*_*tt 3 monitoring web-server apache-2.2

比较器的输出时mod_statusapachetop,有大约10个命中/秒的差异。

  • mod_status 显示 2.91 次点击/秒
  • apachetop (给定 apache 访问日志)显示大约 12 次点击/秒

12 次点击/秒是正确的答案。为什么mod_status显示的值要低得多?

rad*_*ius 5

mod_status 为您提供自服务器启动以来的平均值,而默认情况下 apachetop 提供自过去 30 秒以来的平均值(-T 选项)