【apache】server-status
管理しているsvnサーバが重くなったときに、ちょっと見てみたよめも。
apacheの諸々の情報をhttp経由で見る。
どこからアクセスが来ているとか
CPU使用率とか、秒間のリクエスト数(req/sec)とかOSのPIDとか。色々みれるよ
$ ./apachectl -l
で mod_status.cが入ってるのを確認。
あとは、
httpd-info.conf を編集。
<Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from xxx. </Location> ExtendedStatus On
これで、apacheに反映すると
http://xxx.xxx.xxx.xxx/server-status
にアクセスしてみれるよ。