github.com/krum110487/go-htaccess@v0.0.0-20240316004156-60641c8e7598/tests/data/apache_2_2_34/manual/mod/mod_status.html.ja.utf8 (about) 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head> 4 <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> 5 <!-- 6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 7 This file is generated from xml source: DO NOT EDIT 8 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 9 --> 10 <title>mod_status - Apache HTTP サーバ バージョン 2.2</title> 11 <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> 12 <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> 13 <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="../style/css/prettify.css" /> 14 <script src="../style/scripts/prettify.min.js" type="text/javascript"> 15 </script> 16 17 <link href="../images/favicon.ico" rel="shortcut icon" /><link href="http://httpd.apache.org/docs/current/mod/mod_status.html" rel="canonical" /></head> 18 <body> 19 <div id="page-header"> 20 <p class="menu"><a href="../mod/">モジュール</a> | <a href="../mod/directives.html">ディレクティブ</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">用語</a> | <a href="../sitemap.html">サイトマップ</a></p> 21 <p class="apache">Apache HTTP サーバ バージョン 2.2</p> 22 <img alt="" src="../images/feather.gif" /></div> 23 <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div> 24 <div id="path"> 25 <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP サーバ</a> > <a href="http://httpd.apache.org/docs/">ドキュメンテーション</a> > <a href="../">バージョン 2.2</a> > <a href="./">モジュール</a></div> 26 <div id="page-content"> 27 <div class="retired"><h4>Please note</h4> 28 <p> This document refers to a legacy release (<strong>2.2</strong>) of Apache httpd. The active release (<strong>2.4</strong>) is documented <a href="http://httpd.apache.org/docs/current">here</a>. If you have not already upgraded, please follow <a href="http://httpd.apache.org/docs/current/upgrading.html">this link</a> for more information.</p> 29 <p>You may follow <a href="http://httpd.apache.org/docs/current/mod/mod_status.html">this link</a> to go to the current version of this document.</p></div><div id="preamble"><h1>Apache モジュール mod_status</h1> 30 <div class="toplang"> 31 <p><span>翻訳済み言語: </span><a href="../en/mod/mod_status.html" hreflang="en" rel="alternate" title="English"> en </a> | 32 <a href="../ja/mod/mod_status.html" title="Japanese"> ja </a> | 33 <a href="../ko/mod/mod_status.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | 34 <a href="../tr/mod/mod_status.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> 35 </div> 36 <div class="outofdate">この日本語訳はすでに古くなっている 37 可能性があります。 38 最近更新された内容を見るには英語版をご覧下さい。 39 </div> 40 <table class="module"><tr><th><a href="module-dict.html#Description">説明:</a></th><td>サーバの活動状況と性能に関する情報を提供する</td></tr> 41 <tr><th><a href="module-dict.html#Status">ステータス:</a></th><td>Base</td></tr> 42 <tr><th><a href="module-dict.html#ModuleIdentifier">モジュール識別子:</a></th><td>status_module</td></tr> 43 <tr><th><a href="module-dict.html#SourceFile">ソースファイル:</a></th><td>mod_status.c</td></tr></table> 44 <h3>概要</h3> 45 46 <p>この Status モジュールによりサーバ管理者はサーバがどのくらい 47 の性能で動作しているかを知ることができるようになります。 48 現時点でのサーバの統計情報を読みやすい形式で表した HTML ページが 49 表示されます。必要であれば、このページは自動的にリフレッシュさせる 50 こともできます (互換性のあるブラウザを使用している場合)。 51 別に、現時点でのサーバの状態を単純な機械読み取り可能なリストで 52 表すページもあります。</p> 53 54 <p>表示される情報は:</p> 55 56 <ul> 57 <li>リクエストを扱っているワーカーの数</li> 58 59 <li>アイドル <span class="transnote">(<em>訳注:</em> リクエストを扱っていない)</span> ワーカーの数</li> 60 61 <li>各ワーカーの状態、ワーカーが扱ったリクエストの数、 62 ワーカーが送った総バイト数 (*)</li> 63 64 <li>総アクセス数と総バイト数 (*)</li> 65 66 <li>サーバが起動もしくは再起動された時刻と動作している時間</li> 67 68 <li>平均の 1 秒あたりのリクエスト数、1 秒あたりの送られたバイト数、 69 リクエストあたりのバイト数 (*)</li> 70 71 <li>各ワーカーと Apache 全体で使用されている CPU の割合 (*)</li> 72 73 <li>現時点のホストと処理されているリクエスト (*)</li> 74 </ul> 75 76 <p>"(*)" の付いている情報を表示するには 77 <code class="directive"><a href="#extendedstatus">ExtendedStatus</a></code> 78 が <code>On</code> になっている必要があります。</p> 79 </div> 80 <div id="quickview"><h3>トピック</h3> 81 <ul id="topics"> 82 <li><img alt="" src="../images/down.gif" /> <a href="#enable">Status を使用可能にする</a></li> 83 <li><img alt="" src="../images/down.gif" /> <a href="#autoupdate">自動更新</a></li> 84 <li><img alt="" src="../images/down.gif" /> <a href="#machinereadable">機械読み取り可能なステータスファイル</a></li> 85 </ul><h3 class="directives">ディレクティブ</h3> 86 <ul id="toc"> 87 <li><img alt="" src="../images/down.gif" /> <a href="#extendedstatus">ExtendedStatus</a></li> 88 <li><img alt="" src="../images/down.gif" /> <a href="#seerequesttail">SeeRequestTail</a></li> 89 </ul> 90 <ul class="seealso"><li><a href="#comments_section">コメント</a></li></ul></div> 91 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> 92 <div class="section"> 93 <h2><a name="enable" id="enable">Status を使用可能にする</a></h2> 94 95 96 <p>example.com ドメインからのブラウザのみに対して 97 ステータスの報告を使用可能にするには 98 以下のコードを <code>httpd.conf</code> 設定ファイルに追加します</p> 99 <div class="example"><p><code> 100 <Location /server-status><br /> 101 SetHandler server-status<br /> 102 <br /> 103 Order Deny,Allow<br /> 104 Deny from all<br /> 105 Allow from .example.com<br /> 106 </Location> 107 </code></p></div> 108 109 <p>これで、サーバの統計情報をウェブブラウザを使って 110 <code>http://your.server.name/server-status</code> をアクセスすることにより 111 知ることができるようになります。</p> 112 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> 113 <div class="section"> 114 <h2><a name="autoupdate" id="autoupdate">自動更新</a></h2> 115 116 117 <p>ブラウザが「リフレッシュ」機能をサポートしていれば、ステータスページを 118 自動的に更新するようにできます。N 秒毎に更新させるためには 119 <code>http://your.server.name/server-status?refresh=N</code> 120 というページをアクセスしてください。</p> 121 122 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> 123 <div class="section"> 124 <h2><a name="machinereadable" id="machinereadable">機械読み取り可能なステータスファイル</a></h2> 125 126 127 <p><code>http://your.server.name/server-status?auto</code> を 128 アクセスすることにより、ステータスファイルの機械読み取り可能なバージョンを 129 得ることができます。これは自動的に実行されるときに便利です。 130 Apache の <code>/support</code> ディレクトリにある 131 Perl プログラム <code>log_server_status</code> を見てください。</p> 132 133 <div class="note"> 134 <strong><code class="module"><a href="../mod/mod_status.html">mod_status</a></code> がサーバに組み込まれている 135 場合、ハンドラの機能はディレクトリ<em>毎</em>のファイル 136 (<em>すなわち</em>、<code>.htaccess</code>) も含む<em>すべて</em>の 137 設定ファイルで使用可能になることには注意をしておく必要があります。 138 これは、サイトによってはセキュリティに関する望ましくない結果を 139 もたらすことがあるかもしれません。</strong> 140 </div> 141 142 </div> 143 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> 144 <div class="directive-section"><h2><a name="ExtendedStatus" id="ExtendedStatus">ExtendedStatus</a> <a name="extendedstatus" id="extendedstatus">ディレクティブ</a></h2> 145 <table class="directive"> 146 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>各リクエストに対して拡張ステータス情報を保存する</td></tr> 147 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>ExtendedStatus On|Off</code></td></tr> 148 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>ExtendedStatus Off</code></td></tr> 149 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル</td></tr> 150 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Base</td></tr> 151 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_status</td></tr> 152 <tr><th><a href="directive-dict.html#Compatibility">互換性:</a></th><td>ExtendedStatus は Apache 1.3.2 以降でのみ使用可能</td></tr> 153 </table> 154 <p>この設定はサーバ全体に対して適用され、バーチャルホスト毎に 155 変更することはできません。拡張ステータス情報の収集はサーバの 156 動作を遅くすることがあります。</p> 157 158 </div> 159 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> 160 <div class="directive-section"><h2><a name="SeeRequestTail" id="SeeRequestTail">SeeRequestTail</a> <a name="seerequesttail" id="seerequesttail">ディレクティブ</a></h2> 161 <table class="directive"> 162 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>リクエストの最初の 63 文字か最後の 63 文字 163 のどちらを mod_status が表示するかを決める</td></tr> 164 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>SeeRequestTail On|Off</code></td></tr> 165 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>SeeRequestTail Off</code></td></tr> 166 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル</td></tr> 167 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Base</td></tr> 168 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_status</td></tr> 169 <tr><th><a href="directive-dict.html#Compatibility">互換性:</a></th><td>Apache 2.2.7 以降</td></tr> 170 </table> 171 <p><code>ExtendedStatus On</code> に設定すると mod_status 172 は処理中のリクエスト<span class="transnote">(<em>訳注:</em> の文字列)</span>を表示します。 173 歴史的な理由で、リクエストのうちの63文字だけが表示用に記録されます。 174 このディレクティブで、最初の63文字を記録する(従来からの動作、 175 そして現在もデフォルト)か、最後の63文字を記録するかを決めます。 176 もちろん、リクエストの長さが64文字以上のときに効果があります 177 <span class="transnote">(<em>訳注:</em> 63文字以下だと結果的に同じ動作)</span>。</p> 178 179 <p>Apache が <code>GET /disk1/storage/apache/htdocs/images/imagestore1/food/apples.jpg HTTP/1.1</code> というリクエストを扱っているとき、 mod_status は以下のように表示します: 180 </p> 181 182 <table class="bordered"> 183 <tr> 184 <th>Off (デフォルト)</th> 185 <td>GET /disk1/storage/apache/htdocs/images/imagestore1/food/fruits</td> 186 </tr> 187 <tr> 188 <th>On</th> 189 <td>orage/apache/htdocs/images/imagestore1/food/apples.jpg HTTP/1.1</td> 190 </tr> 191 </table> 192 193 194 </div> 195 </div> 196 <div class="bottomlang"> 197 <p><span>翻訳済み言語: </span><a href="../en/mod/mod_status.html" hreflang="en" rel="alternate" title="English"> en </a> | 198 <a href="../ja/mod/mod_status.html" title="Japanese"> ja </a> | 199 <a href="../ko/mod/mod_status.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | 200 <a href="../tr/mod/mod_status.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> 201 </div><div class="top"><a href="#page-header"><img src="../images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">コメント</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> 202 <script type="text/javascript"><!--//--><![CDATA[//><!-- 203 var comments_shortname = 'httpd'; 204 var comments_identifier = 'http://httpd.apache.org/docs/2.2/mod/mod_status.html'; 205 (function(w, d) { 206 if (w.location.hostname.toLowerCase() == "httpd.apache.org") { 207 d.write('<div id="comments_thread"><\/div>'); 208 var s = d.createElement('script'); 209 s.type = 'text/javascript'; 210 s.async = true; 211 s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; 212 (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); 213 } 214 else { 215 d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); 216 } 217 })(window, document); 218 //--><!]]></script></div><div id="footer"> 219 <p class="apache">Copyright 2017 The Apache Software Foundation.<br />この文書は <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> のライセンスで提供されています。.</p> 220 <p class="menu"><a href="../mod/">モジュール</a> | <a href="../mod/directives.html">ディレクティブ</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">用語</a> | <a href="../sitemap.html">サイトマップ</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- 221 if (typeof(prettyPrint) !== 'undefined') { 222 prettyPrint(); 223 } 224 //--><!]]></script> 225 </body></html>