PMDASAMBA(1)
π PMDASAMBA π
okay bestie, gather round, we're talking about pmdasamba β the Samba performance metrics domain agent (PMDA), part of the Performance Co-Pilot crew. she's the plug that gets your Samba numbers out into the open. periodt.
β¨ DESCRIPTION β¨
so pmdasamba is a Performance Metrics Domain Agent (PMDA), and what she does is export metric values straight out of Samba, aka the Windows SMB/CIFS server for UNIX. iconic behavior honestly.
but listen, there's a catch, and it's giving prerequisite energy: for those values to actually be available through this PMDA, Samba must have been built with profiling support. how do you know? you go check for WITH_PROFILE in the output of smbd -b. no WITH_PROFILE, no metrics, sorry babe. π
this PMDA is also kinda extra in the best way β she dynamically enumerates a whole bunch of her metric hierarchy, based on whatever's in smbstatus --profile. she's flexible like that. π¦
and when the agent gets installed (peep the next section), the Install script will try to switch on Samba statistics gathering, using smbcontrol --profile. she's proactive, we love that.
π INSTALLATION π
you want access to the names and values for the samba performance metrics? say less. as root, do this:
# cd $PCP_PMDAS_DIR/samba
# ./Install
and if you wanna undo the whole thing (no judgment, sometimes we change our minds), as root do:
# cd $PCP_PMDAS_DIR/samba
# ./Remove
real talk though:pmdasambagets launched bypmcd(1)and should never be executed directly. do not run her yourself, she has a whole launch situation handled. π
the Install and Remove scripts are the ones that notify pmcd(1) when the agent gets installed or removed. they're the group chat that keeps everyone in the loop. π«Ά
πΈ FILES πΈ
$PCP_PMDAS_DIR/samba/Installβ the installation script for thepmdasambaagent$PCP_PMDAS_DIR/samba/Removeβ the undo-installation script for thepmdasambaagent$PCP_LOG_DIR/pmcd/samba.logβ the default log file wherepmdasamba's error messages go
π SEE ALSO π
pmcd(1), samba(7) and smbd(8). go read 'em, iykyk. π
and that's the whole vibe, bestie β this was version 7.2.2 of the Performance Co-Pilot manual, dated with all the PCP energy it deserves. mwah, stan a well-documented PMDA. πβ¨π
π¦ where this page comes from
- 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.2-1.fc44
- fedora 44: pcp-doc 7.2.2-2.fc44 Β· GPL-2.0-or-later AND CC-BY-3.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms