PMUNLOADNAMESPACE(3)

πŸ“¦
version 7.2.2 Β· 2 versions
, in arch rolling, centos-stream 10, fedora 43, fedora 44, ubuntu resolute, ubuntu stonking

🌸 PMUNLOADNAMESPACE(3) β€” the pmUnloadNameSpace glow-up 🌸

Library Functions Manual Β· PCP Β· bestie edition


✨ NAME ✨

pmUnloadNameSpace β€” unload a local performance metrics name space for an application πŸ§ΉπŸ’–


πŸŽ€ C SYNOPSIS πŸŽ€

#include <pcp/pmapi.h>

void pmUnloadNameSpace(void);

cc ... -lpcp

Like, that's it. No args. No return value. She just does the thing. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so listen πŸ‘‘ β€” if you've previously loaded a local Name Space using pmLoadNameSpace(3) or pmLoadASCIINameSpace(3), then calling pmUnloadNameSpace(3) is gonna do two iconic things:

  • free up the memory associated with that Name Space 🌈
  • force all subsequent PMNS routine calls to use the distributed PMNS ⭐

like… she literally cleans up after you and reroutes everyone to the distributed one. main character energy fr fr πŸ’…

but wait 😭 β€” if you call pmUnloadNameSpace(3) before you've called pmLoadNameSpace(3) or pmLoadASCIINameSpace(3), then it will effectively do nothing. no drama, no crash, just vibes. she's unbothered. πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ

go read those too bestie, iykyk 🫢


mwah πŸ’‹ this page came to you from Performance Co-Pilot β€” that's PCP β€” and the header said PMUNLOADNAMESPACE(3), which is literally the title of this whole thing. slay. βœ¨πŸŒΈπŸ’–

πŸ“¦ where this page comes from