0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Apache モジュール mod_status

Posted at

概要

サーバ管理者はサーバがどのくらい の性能で動作しているかを知ることができるようになります。 現時点でのサーバの統計情報を読みやすい形式で表した HTML ページが 表示されます。

表示される情報

リクエストを扱っているワーカーの数
アイドル (訳注: リクエストを扱っていない) ワーカーの数
各ワーカーの状態、ワーカーが扱ったリクエストの数、 ワーカーが送った総バイト数 (*)
総アクセス数と総バイト数 (*)
サーバが起動もしくは再起動された時刻と動作している時間
平均の 1 秒あたりのリクエスト数、1 秒あたりの送られたバイト数、 リクエストあたりのバイト数 (*)
各ワーカーと Apache 全体で使用されている CPU の割合 (*)
現時点のホストと処理されているリクエスト (*)

コマンド

以下コマンドで出力させることができます。

curl http://localhost:18880/server-status

ターミナル汚れるのが嫌な人は/tmp下とかにでも出力すると良いかもです。
その後sftpとかでローカルに保存してください。

curl http://localhost:18880/server-status > server-status.html
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?