PCP-DMCACHE(1)
π PCP-DMCACHE β report on logical storage device caches
okay bestie, welcome to the pcp-dmcache page π (it lives in the General Commands Manual section of the PCP docs, iykyk). also known as pcp-lvmcache, and we're gonna talk about why they're literally the same thing. buckle up π
β¨ NAME β¨
pcp-dmcache, pcp-lvmcache β report on logical storage device caches πΈ
π¦ SYNOPSIS π¦
pcp [pcp options] dmcache [-iRV?] [device ...]
π DESCRIPTION π
pcp-dmcache spills the tea on what any configured Device Mapper Cache targets are up to. the info it reports includes:
- device IOPs π«
- cache and metadata device utilization
- hit and miss rates and ratios β for both reads and writes β for each cache device
pcp-lvmcache (that's Logical Volume Manager cache, for the uninitiated) is an exact synonym for pcp-dmcache (Device Mapper cache). same tool, different name, iconic behavior honestly π«Ά
by default, pcp-dmcache reports on all available cache target devices β one line each, per sample π§ but no cap, you can restrict it to specific devices by listing them on the command line.
π OPTIONS π
so when you invoke this through the pcp(1) command, a whole squad of pcp options becomes indirectly available:
-h/--host-a/--archive-O/--origin-s/--samples-t/--interval-Z/--timezone
β¦and several other pcp options too π. for a complete description of all of those, go read PCPIntro(1) β it's giving reference material, bestie.
now the additional command line options that are special to pcp-dmcache:
-i,--iopsβ displays total read and write operations instead of the default cache hit ratio π₯-R,--repeatβ changes the frequency at which the column heading is displayed. by default, a header shows up after every tenth sample β¨-V,--versionβ display version number and exit. short and sweet π-?,--helpβ display usage message and exit. she's helpful like that π
π PCP ENVIRONMENT π
environment variables with the prefix PCP_ are used to parameterize the file and directory names that PCP uses. 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) π
for environment variables affecting PCP tools, see pmGetOptions(3) β that's the one you want, fr fr π
πΈ SEE ALSO πΈ
PCPIntro(1), pcp(1), pmdadm(1), dmsetup(1) and lvmcache(7). go read them, they slay too β
okay that's the whole page, bestie!! π this was brought to you by Performance Co-Pilot β the PCP girlies β and it's the PCP-DMCACHE(1) era, periodt ππ¦ no date stamp on this one but you know the vibe, 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) 2017-2019 Red Hat
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms