File: apachex.htm

package info (click to toggle)
moodss 19.7-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 6,136 kB
  • ctags: 3,149
  • sloc: tcl: 49,048; ansic: 187; perl: 178; makefile: 166; sh: 109; python: 65
file content (49 lines) | stat: -rw-r--r-- 2,354 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<html>
<head>
<title>apachex moodss module</title>
</head>
<body>

<p>This is a view of extended statistics for an Apache WWW server. The Apache <i>mod_status</i> module must be enabled and the <i>ExtendedStatus</i> directive value set to <i>On</i> in the server configuration.
<br>If the Apache server is not running on this host or not using the default URL for statistics, the remote option described below must be used.
<br><i>Note</i>: you may also concurrently use the basic <i>apache</i> statistics module.

<p>Data is displayed in 3 tables with the following columns:

<ul>
<li>server number, generation<b>*</b>, operating system process identifier, number of accesses, operating mode.
<li>server number, most recent request age, most recent request processing time, connection traffic, child traffic, accumulated slot traffic, dynamic slot traffic.
<li>server number, client network address, virtual host, HTTP request.
</ul>

<b>*</b>: <i>only available for servers after version 1.3.6.</i>

<pre><img src="apachex.gif"></pre>

<p>When there is a communication error with the server, all rows disappear and displayed tables become empty. A descriptive error message is also generated in such a case.

<p><b>Module options:</b>

<ul>
<li><i>-r (--remote) [http://]host[statusLocator]</i>
<br>where <i>host</i> if the hostname or IP address where the Apache server is running. The protocol header is optional (only HTTP is supported). The <i>statusLocator</i> must be specified if the Apache server was configured with a status handler value other than <i>server-status</i>. If this option is not specified, data will be retrieved from this host using the following URL: <a HREF="http://127.0.0.1/server-status">http://127.0.0.1/server-status</a>.
<li><i>--proxyhost address</i>
<br>where <i>address</i> is the name of the proxy host, if any.
<li><i>--proxyport number</i>
<br>where <i>number</i> is the proxy port number.
</ul>

<p>In all cases, the module title is set to <i>apachex(host)</i>.

<p><b>Examples:</b>

<pre>$ moodss apachex
$ moodss apachex -r www.foo.com
$ moodss apachex -r www.foo.com/server-status
$ moodss apachex --remote http://www.foo.com/status
$ moodss apache apachex
$ moodss apache -r www.foo.com apachex -r www.foo.com
$ moodss apachex -r www.foo.com --proxyhost proxy.foo.com --proxyport 8000</pre>

</body>
</html>