PMDAREDIS(1)
πΎ PMDAREDIS(1) β the manual, but make it cute
okay bestie, so this is pmdaredis from the General Commands Manual section β it's the Redis performance metrics domain agent (PMDA) and honestly? it's giving observability icon energy. π
β¨ NAME β¨
pmdaredis β Redis performance metrics domain agent (PMDA)
πΈ DESCRIPTION πΈ
This PMDA gets its performance data by literally just sending the INFO command to a Redis (redis.io) server and seeing what comes back. no cap. and what comes back includes:
- General information about the Redis server π
- Client connections π«Ά
- Memory consumption π§
- Persistence statistics πΎ
- Replication statistics πͺ
- CPU consumption statistics π₯
- Redis command statistics β¨οΈ
- Redis Cluster statistics π
- Database related statistics ποΈ
The hostname (localhost), the port (6379 by default) and all the other config info must be specified in the $PCP_PMDAS_DIR/redis/redis.conf file. fr fr, it's mandatory.
# cd $PCP_PMDAS_DIR/redis
# [ edit redis.conf ]
host=localhost.localdomain:6379
Once that's all set up, you can access the names and values for the redis performance metrics by doing the following as root:
# cd $PCP_PMDAS_DIR/redis
# ./Install
and to uninstall, the following must be done as root:
# cd $PCP_PMDAS_DIR/redis
# ./Remove
okay so important thing: pmdaredis is launched by pmcd(1) and should never be executed directly. like, don't do it. not the vibe. the Install and Remove scripts notify pmcd(1) when the agent is installed or removed, so they handle all that for you. π
π FILES π
$PCP_PMDAS_DIR/redis/redis.confβ mandatory configuration file listing monitored redis instances. mandatory!! did she stutter? π$PCP_PMDAS_DIR/redis/Installβ installation script for thepmdaredisagent$PCP_PMDAS_DIR/redis/Removeβ undo installation script for thepmdaredisagent$PCP_LOG_DIR/pmcd/redis.logβ default log file for error messages frompmdaredis
π 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 iconic.
and that's the whole page!! brought to you by Performance Co-Pilot / PCP, and yes the header really did say PMDAREDIS(1) at the top and the footer really did say Performance Co-Pilot, PCP, PMDAREDIS(1) at the bottom β consider them mentioned, slay β¨ππ
π¦ 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) 2017 Red Hat
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms