File: webpingvis.1

package info (click to toggle)
pcp 6.3.8-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 235,180 kB
  • sloc: ansic: 1,253,622; sh: 173,998; xml: 160,490; cpp: 83,331; python: 20,482; perl: 18,302; yacc: 6,886; makefile: 2,955; lex: 2,862; fortran: 60; java: 52
file content (217 lines) | stat: -rw-r--r-- 5,249 bytes parent folder | download | duplicates (2)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
'\"macro stdmacro
.\"
.\" Copyright (c) 1997 Silicon Graphics, Inc.  All Rights Reserved.
.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of the GNU General Public License as published by the
.\" Free Software Foundation; either version 2 of the License, or (at your
.\" option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
.\" or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
.\" for more details.
.\"
.TH WEBPINGVIS 1 "" "Performance Co-Pilot"
.SH NAME
\f3webpingvis\f1 \- visualize Web server response time
.\" literals use .B or \f3
.\" arguments use .I or \f2
.SH SYNOPSIS
\f3webpingvis\f1
[\f3\-CiVz\f1]
[\f3\-A\f1 \f2align\f1]
[\f3\-a\f1 \f2archive\f1]
[\f3\-h\f1 \f2host\f1]
[\f3\-m\f1 \f2max\f1]
[\f3\-n\f1 \f2pmnsfile\f1]
[\f3\-O\f1 \f2time\f1]
[\f3\-p\f1 \f2port\f1]
[\f3\-S\f1 \f2time\f1]
[\f3\-T\f1 \f2time\f1]
[\f3\-t\f1 \f2interval\f1]
[\f3\-x\f1 \f2version\f1]
[\f3\-Z\f1 \f2timezone\f1]
.SH DESCRIPTION
.B webpingvis
displays a summary of Web server response-time statistics
collected from the Performance Co-Pilot (PCP) infrastructure.
The display is modulated by the values of
performance metrics retrieved from the target
.I host
(which is running
.BR pmcd (1)
and the
.BR pmdawebping (1)
Performance Metrics Domain Agent) or
from the PCP archive log identified by
.IR archive .
The display is updated
every
.I interval
seconds (default 2 seconds).
.PP
As in all
.BR pmview (1)
scenes, when the mouse is moved over one of the bars,
the current value and metric information for that bar
will be shown in the text box near the top of the display.
The height of the bars is proportional to the
performance metric values relative to the maximum,
as controlled by size of the URLs being fetched by
.BR pmdawebping (1),
and the
.B \-m
option (see below).
.PP
The bars in the
.B webpingvis
scene represent the following information:
.TP 4
.B Size
The green bars indicate the relative sizes of the results returned
for each URL in the
.B pmdawebping
workload.
.TP 4
.B Response
For each URL in the
.B pmdawebping
workload, the components of the Web server response-time (connect, head
and body) and the total response-time is displayed.
.RS +4n
.PP
To the right, the component and total times are summed over all URLs in the
.B pmdawebping
workload.
.RE
.TP 4
.B Errors
The four red error bars indicate the number of socket, HTTP, HTML or other
errors that occurred in the last iteration of the
.B pmdawebping
workload.
Any of these errors will terminate the request for a URL.
.PP
.B webpingvis
uses
.BR pmview (1),
and so the user interface follows
that described for
.BR pmview (1),
which in turn displays the scene
within an
Inventor examiner viewer.
For generic control of the viewer, see
.BR ivview (1).
.PP
.B webpingvis
passes most command line options to
.BR pmview (1).
Therefore, the command line options
.BR \-A ,
.BR \-a ,
.BR \-C ,
.BR \-h ,
.BR \-n ,
.BR \-O ,
.BR \-p ,
.BR \-S ,
.BR \-t ,
.BR \-T ,
.BR \-x ,
.BR \-Z
and
.BR \-z ,
and the user interface are described in the
.BR pmview (1)
man page.
.PP
Options specific to
.B webpingvis
are:
.IP \f3\-i\f1
The URL names are not included as labels in the scene by default.
The
.B \-i
option forces them to be included.
.TP
.BI \-m " max"
Change the normalization factor for the response-time bars.
The value for
.I max
is in units of milliseconds, and should be the expected maximum value
for the total response-time aggregated over all URLs in the
.B pmdawebping
workload.  The default value is 1000 milliseconds.
.IP \f3\-V\f1
The derived configuration file for
.BR pmview (1)
is written on standard output.  This may be saved and used directly with
.BR pmview (1)
if the user wishes to customize the display, or modify some of
the normalization parameters.
.SH CAVEATS
As
.B webpingvis
sorts the configured URLs by size, running
.B webpingvis
shortly after starting
.BR pmdawebping (1)
may result in the URLs being sorted incorrectly as they may not have been
fetched.
.PP
The
.B ~
character may not be parsed correctly by
.BR pmview (1).
Therefore, if
.BR pmdawebping (1)
is fetching any URLs containing
.B ~
then
.B webpingvis
will not launch.
.SH FILES
.PD 0
.TP 10
.IR $PCP_VAR_DIR/pmns/ *
default PMNS specification files
.TP
.I $PCP_VAR_DIR/config/pmlogger/config.webpingvis
.BR pmlogger (1)
configuration file that can be used to create a PCP archive
suitable for display with
.B webpingvis
.TP
.I $PCP_VAR_DIR/config/pmchart/Web.Response
A
.BR pmchart (1)
configuration file for monitoring Web server response time
.PD
.SH "PCP ENVIRONMENT"
Environment variables with the prefix
.B PCP_
are used to parameterize the file and directory names
used by PCP.
On each installation, the file
.I /etc/pcp.conf
contains the local values for these variables.
The
.B $PCP_CONF
variable may be used to specify an alternative
configuration file,
as described in
.BR pcp.conf (4).
.SH SEE ALSO
.BR pmcd (1),
.BR pmchart (1),
.BR pmdawebping (1),
.BR pmdumplog (1),
.BR pminfo (1),
.BR pmlogger (1),
.BR pmval (1),
.BR pmview (1),
.BR weblogvis (1)
and
.BR webvis (1).