WEBVIS(1)
π WEBVIS π
okay so bestie, welcome to the webvis page from the General Commands Manual β it's giving system-monitoring main character energy and honestly? obsessed. π
β¨ NAME β¨
webvis β visualize system-level Web server activity ππ
π SYNOPSIS π
webvis [-CVz] [-A align] [-a archive] [-b maxbusy] [-h host] [-i maxio]
[-m max] [-n pmnsfile] [-O time] [-p port] [-r maxreq] [-S time] [-T
time] [-t interval] [-x version] [-Z timezone] [interface ...]
πΈ DESCRIPTION πΈ
webvis shows you a whole overview of system-level Web server performance stats, and it pulls them straight from the Performance Co-Pilot (PCP) infrastructure. No cap. π«Ά
The display changes based on the performance metric values it grabs from the target host β which has to be running pmcd(1) and the pmdaweblog(1) Performance Metrics Domain Agent β or from the PCP archive log that you point at with archive. The display refreshes every interval seconds (default is 2 seconds). β±οΈ
Just like in every pmview(1) scene: when you move the mouse over one of the bars, the current value and metric info for that bar pops up in the text box near the top of the display. iykyk. π±οΈβ¨
The height of the web request bars and the network activity bars is proportional to the performance metric values relative to the maximum expected activity, and that max is controlled by the -m and -r options (details below). Same deal with -b and -i, which control the scaling for the disk activity bars.
So the bars in the webvis scene represent this stuff:
π₯ Requests by Size
At the front of the scene, the "Requests by Size" row of bars shows the rate of requests for different size requests. The histograms are defined by these byte counts: 0, 3 Kbytes, 10 Kbytes, 30 Kbytes, 100 Kbytes, 300 Kbytes, 1 Mbyte, 3 Mbytes, and anything larger than 3 Mbytes. And notice β the size divisions are not evenly distributed, bestie, they're lowkey all over the place. The "size" here means the data portion of the response to each Web server request. These rates are aggregated across all monitored Web servers. π
π¦ Requests by Type
This row of bars shows the request rate for each type of HTTP request β get, post, head and other β aggregated across all monitored Web servers. If you want the detailed version with the breakdown of requests per Web server, go check out weblogvis(1). π
π Network
For every network interface there are two stacked bars. One bar shows the input traffic, the other shows the output traffic. The stacks are made up of the number of errors (red), the number of drops (orange) and the number of packets (green). π
Generally speaking: if there are any "dropped input packets", then that network interface is saturated, or there aren't enough network resources available in the kernel to adequately service the input request load. If that's what's happening, then the Alarm Conditions rows (below π) may give you more detail about where the problem is coming from.
π¨ Alarm Conditions
The red row of bars shows an assortment of TCP error conditions (aggregated for all network interfaces), the orange bars show critical kernel buffer allocation problems, and the yellow bar shows severe paging conditions. If any of these bars have a non-zero height, then the system you're monitoring might need kernel parameter tuning, software reconfiguration, or more hardware resources. fr fr.
The performance metrics behind those bars are:
network.tcp.dropsβ rate of dropped connectionsnetwork.tcp.conndropsβ rate of embryonic connections droppednetwork.tcp.timeoutdropβ rate of connections dropped by rexmit timeoutnetwork.tcp.rcvbadsumβ rate of packets discarded for bad checksumsnetwork.tcp.rexmttimeoβ rate of retransmit timeoutsnetwork.tcp.sndrexmitpackβ rate of data packets retransmittedswap.pagesoutβ page swap out rate (indicating insufficient memory)network.mbuf.failedβ rate of incidents where the kernel failed to find mbuf spacenetwork.mbuf.waitedβ rate of incidents where the kernel waited to find mbuf space
π CPU
This column shows CPU utilization, aggregated over all CPUs. (CPU idle time is not included in the column.)
π Disk
There are two cylinders showing disk metrics:
- The first cylinder shows the rate of read (yellow) and write (violet) operations, aggregated over all disk spindles.
- The second cylinder shows the average (over all disks) percentage of time for which a disk is busy or active.
Heads up bestie: that second metric is not available in PCP1.x versions. So if webvis is being used to monitor a host running PCP1.x, this cylinder will not be displayed. π
To adjust the scaling of these objects, refer to the -b and -i options described below.
π§ Mem
There are two bars showing memory metrics:
- The first bar shows utilized memory, with different colors representing different types of utilization (kernel, user, etc).
- The second bar shows the amount of free memory.
And if webvis is being used to monitor a host running PCP1.x, then only the bar showing free memory will be displayed.
If you specify any optional interface arguments on the command line, then only the network interfaces matching those interface arguments will show up in the Network section. By default, all interfaces are used. The interface arguments are used as patterns for egrep(1) matching against the interface names β so like, ec would select all external Ethernet interfaces for a Challenge S. π―
webvis uses pmview(1), so the user interface follows the one described for pmview(1), which in turn displays the scene within an Inventor examiner viewer. πΌοΈ
webvis passes most command line options to pmview(1). So the command line options -A, -a, -C, -h, -n, -O, -p, -S, -t, -T, -x, -Z and -z, plus the user interface, are all described in the pmview(1) man page. β¨
Options specific to webvis are:
-bmaxbusy β Controls the maximum (normalization) value for the average percentage of the time active over all disks. The default value is 30% active.-imaxio β Controls the maximum (normalization) value for the sum of the aggregate disk read and disk write rates. The default value is 100 I/Os per second.-mmax β Controls the maximum (normalization) value for the packet input and packet output rates. The default value is 750 packets/second.-rmaxreq β Controls the maximum Web request rate. The default is 5% of the maximum packet rate (i.e. 38 requests/second by default). The maximum Web error rate is fixed at 20% of the maximum Web request rate (i.e. 7 errors/second by default).-Vβ The derived configuration file forpmview(1)is written on standard output. You can save it and use it directly withpmviewif you wanna customize the display, or modify some of the normalization parameters. πΎ
π FILES π
$PCP_VAR_DIR/pmns/*β default PMNS specification files$PCP_VAR_DIR/config/pmlogger/config.webβpmlogger(1)configuration file that can be used to create a PCP archive suitable for display withwebvis
π PCP ENVIRONMENT π
Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configuration file, as described in pcp.conf(4). π«§
π SEE ALSO π
pmcd(1), pmchart(1), pmdaweblog(1), pmdawebping(1), pmdumplog(1), pminfo(1), pmlogger(1), pmval(1), pmview(1), weblogvis(1), webpingvis(1), pcp.conf(4) and pcp.env(4).
and that's the whole page, bestie π this one's brought to you by Performance Co-Pilot β go monitor something iconic, you've got this πβ¨π
π¦ where this page comes from
- arch rolling: pcp 7.2.2-2 Β· GPL-2.0-or-later AND LGPL-2.1-or-later AND CC-BY-3.0
- centos-stream 10: pcp-doc 7.1.5-6.el10 Β· GPL-2.0-or-later AND CC-BY-3.0
- centos-stream 9: pcp-doc 6.3.7-14.el9 Β· GPL-2.0-or-later AND CC-BY-3.0
- debian trixie: pcp 6.3.8-1
- fedora 43: pcp-doc 7.0.1-1.fc43 Β· GPL-2.0-or-later AND CC-BY-3.0
- fedora 43: pcp-doc 7.2.1-1.fc43
- fedora 43: pcp-doc 7.2.2-1.fc43
- fedora 43: pcp-doc 7.2.2-2.fc43 Β· GPL-2.0-or-later AND CC-BY-3.0
- fedora 44: pcp-doc 7.1.0-6.fc44 Β· GPL-2.0-or-later AND CC-BY-3.0
- fedora 44: pcp-doc 7.2.1-1.fc44
- fedora 44: pcp-doc 7.2.2-1.fc44
- fedora 44: pcp-doc 7.2.2-2.fc44 Β· GPL-2.0-or-later AND CC-BY-3.0
- ubuntu questing: pcp 6.3.8-1
- ubuntu resolute: pcp 7.1.1-1
- ubuntu stonking: pcp 7.2.1-2build1
- Copyright (c) 1997 Silicon Graphics, Inc. All Rights Reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms