PMDASMART(1)
π PMDASMART π
okay so bestie, welcome to the pmdasmart manual page β that's the S.M.A.R.T Data PMDA, and she's literally a whole vibe. π©Ίβ¨
β¨ SYNOPSIS β¨
$PCP_PMDAS_DIR/smart/pmdasmart [-D debug]
like. that's the whole summoning ritual. π―οΈ
πΈ DESCRIPTION πΈ
So pmdasmart is a Performance Metrics Domain Agent (PMDA, iykyk) and what she does is export metric values for Device Mapper on the local system. no cap. π«Ά
She gets all her data by going through the smartctl(8) utility, which means β and this is the important part, bestie β that program has to be installed or she simply cannot function. it's giving "no smartctl, no service". π
If you wanna go deeper on smartctl and smartmontools, the lore lives at https://smartmontools.org. go read it, it's iconic. ππ
π INSTALLATION π
Wanna install the SMART PMDA? slay. do it as root, using the Install script:
# cd $PCP_PMDAS_DIR/smart
# ./Install
and when you're done with her (noooo π), uninstall as root like this:
# cd $PCP_PMDAS_DIR/smart
# ./Remove
okay important thing, don't skip this: pmdasmart is launched by pmcd(1) and should never be executed directly. she's not a solo artist, she's in a group project. π
Also the Install and Remove scripts handle the whole "hey pmcd, she's here now / she's gone now" notification thing for you, so you don't have to. considerate queens. π
π¦ FILES π¦
$PCP_PMDAS_DIR/smart/helpβ the default help text file for the smart metrics, aka her little glossary π$PCP_PMDAS_DIR/smart/Installβ the installation script for thepmdasmartagent β¨$PCP_PMDAS_DIR/smart/Removeβ the undo installation script for thepmdasmartagent, the "nvm bestie" button π$PCP_LOG_DIR/pmcd/smart.logβ the default log file wherepmdasmartdrops her error messages π
π PCP ENVIRONMENT π
okay so env vars with the prefix PCP_ are the ones that parameterize all the file and directory names that PCP uses. every time you install, the file /etc/pcp.conf is holding the local values for those variables. π
and if you want a different config file entirely? you can use the $PCP_CONF variable to point at an alternative one β it's all described over in pcp.conf(5). main character energy from a config file, honestly. π
π DEBUGGING OPTIONS π
-D,--debugβ turns on extra diagnostics onstderrso you can triage problems. lowkey warning though: the info is sometimes cryptic and it's primarily meant to guide developers, not end-users. so like, don't panic if it reads like a riddle. πdebugis a comma separated list of debugging options, and if you wanna know what all of them mean, hit uppmdbg(1)with the-loption to get the full list. π
β SEE ALSO β
PCPIntro(1), pmcd(1) and smartctl(8).
go read them, bestie, they're all connected fr fr π«ΆπΈ
no cap: this page is part of Performance Co-Pilot (PCP), and this specific manual isPMDASMART(1)β stay hydrated, log your metrics, and remember she only runs underpmcdπβ¨π§
π¦ 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
- 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.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 stonking: pcp 7.2.1-2build1
- Copyright (c) 2018-2023 Red Hat
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms