Specifications
Chapter 13 Configuring and Managing Web Technologies 215
To view samples:
$ sudo serveradmin command
web:command = getHistory
web:variant =
statistic
web:timeScale =
scale
Control-D
The computer responds with the following output:
web:nbSamples = <samples>
web:samplesArray:_array_index:0:v
n
= <sample>
web:samplesArray:_array_index:0:t = <time>
web:samplesArray:_array_index:1:v
n
= <sample>
web:samplesArray:_array_index:1:t = <time>
[...]
web:samplesArray:_array_index:
i
:v
n
= <sample>
web:samplesArray:_array_index:
i
:t = <time>
web:v
n
Legend = "<legend>"
web:currentServerTime = <servertime>
Parameter Description
statistic
The value you want to display. Valid values:
Â
v1—Number of requests per second
Â
v2—Throughput (bytes/sec)
Â
v3—Cache requests per second
Â
v4—Cache throughput (bytes/sec)
scale
The length of time in seconds, ending with the current time, that
you want to see samples for.
For example, to see 30 minutes of data, you would specify
qtss:timeScale = 1800.
Value displayed by
getHistory Description
<samples> The total number of samples listed.
<legend> A textual description of the selected statistic:
Â
"REQUESTS_PER_SECOND" for v1
 "THROUGHPUT" for v2
 "CACHE_REQUESTS_PER_SECOND" for v3
 "CACHE_THROUGHPUT" for v4
<sample>
The numerical value of the sample.
<time> The time the sample was measured. A standard UNIX time (number
of seconds since September 1, 1970). Samples are taken every 60
seconds.