PMDAUWSGI(1)
π PMDAUWSGI(1) β the uwsgi PMDA, bestie edition π
okay so real quick: this is the manual page for pmdauwsgi, a General Commands Manual situation, and I'm about to make it make sense. no cap. π«Ά
β¨ NAME β¨
pmdauwsgi β the uwsgi performance metrics domain agent, aka a PMDA. slay.
πΈ DESCRIPTION πΈ
So pmdauwsgi is a Performance Metrics Domain Agent (PMDA) whose whole personality is exporting performance metrics from uwsgi. iconic behavior honestly.
For context bestie: uWSGI is often used together with web servers such as Nginx, which offer direct support for uWSGI's native uwsgi protocol, all so they can serve Python web applications such as Django. it's giving β¨the pipelineβ¨.
pmdauwsgi reads an optional ini-style configuration file:
$PCP_SYSCONF_DIR/uwsgi/uwsgi.conf
This file has a [pmda] section, like so:
[pmda]
and inside that section you got two lil settings:
host = (127.0.0.1)β connect uwsgi stats server on the given hostname. that's it, that's the whole vibe check.port = (9051)β connect to the uwsgi stats server on the given port. π
π οΈ INSTALLATION π οΈ
This PMDA requires that uwsgi is running on the local host, with a uwsgi stats server running on TCP port 9051 (by default) and stats-http enabled. no stats-http, no metrics, that's the deal. π
Install the uwsgi PMDA by using the Install script as root:
# cd $PCP_PMDAS_DIR/uwsgi
# ./Install
To uninstall, do the following as root:
# cd $PCP_PMDAS_DIR/uwsgi
# ./Remove
pmdauwsgi is launched by pmcd(1) and should never be executed directly. like, don't. π The Install and Remove scripts notify pmcd(1) when the agent is installed or removed, so it all stays in sync. β¨
π FILES π
$PCP_PMDAS_DIR/uwsgi/Installβ installation script for thepmdauwsgiagent π§$PCP_PMDAS_DIR/uwsgi/Removeβ undo installation script for thepmdauwsgiagent (the little "jk bestie, take it back" script)$PCP_LOG_DIR/pmcd/uwsgi.logβ default log file for error messages frompmdauwsgi. when things go wrong, this is where the tea lives π$PCP_SYSCONF_DIR/uwsgi/uwsgi.confβ optional configuration file for thepmdauwsgiagent πΈ
π 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(5). iykyk π
π SEE ALSO π
PCPIntro(1) and pmcd(1). go read them, bestie, they're part of the lore. π
fr fr, that's the whole page β nothing skipped, nothing invented, all the facts kept their main character energy. π«Ά
this has been Performance Co-Pilot (PCP), version PMDAUWSGI(1), delivered to you fresh. mwah. πβ¨ππ¦
π¦ 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) 2024 Red Hat
- Copyright (c) 2024 Nikhil Jain <nikjain@redhat.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms