COROSYNC-CPGTOOL(8)

πŸ’– COROSYNC-CPGTOOL πŸ’–

okay bestie, welcome to corosync-cpgtool, section 8 of the System Manager's Manual β€” yeah it lives in the sysadmin corner of the manual universe and honestly? she ate. it's A tool for displaying cpg groups and members and that's literally the whole vibe. let's go πŸ’…


✨ SYNOPSIS ✨

corosync-cpgtool [-d delimiter] [-e] [-n] [-h]

🌸 DESCRIPTION 🌸

corosync-cpgtool is A tool for displaying cpg groups and members. that's it, that's the job, and she does it flawlessly. no cap. πŸ¦‹


πŸŽ€ OPTIONS πŸŽ€

  • -d β€” the delimiter between fields. you pick what goes between the columns, she respects it. queen behavior.
  • -e β€” Don't escape unprintable characters in group name. so if your group name is giving unhinged gremlin energy, this lets it show up raw πŸ™ˆ
  • -n β€” Display only all existing group names. just the names bestie, no extra lore, no PIDs, nothing. minimalism slay ✨
  • -h β€” Display this help. your girl always has a little help text ready for you 🫢

πŸ“ EXAMPLES πŸ“

Display the groups and process that belong to those cpg groups.

$ corosync-cpgtool
Group Name            PID        Node ID
example-group
                2515      191146176 (192.168.100.11)
                2471      207923392 (192.168.100.12)

look at her go, listing the whole group and every process in it with PIDs and node IDs. iconic. πŸ‘‘

Get a comma-delimited list.

$ corosync-cpgtool -d ","
GRP_NAME,PID,NODEID
example-group,2515,191146176
example-group,2471,207923392

pass it a "," and suddenly it's CSV-coded. main character energy fr fr. πŸ”₯

Just get the group names

$ corosync-cpgtool -n
example-group

just the names. nothing else. lowkey the cleanest output she does. 🌈


πŸ‘€ SEE ALSO πŸ‘€

(yeah it's a list of one, she's mysterious like that πŸ’œ)


πŸ’« AUTHOR πŸ’«

Angus Salkeld β€” the legend, the moment, the author. we stan. 🌟


quick reminder bestie: that -e option is the only one touching escaping, and it's specifically about unprintable characters in group name. don't come for the other flags, they're innocent πŸ’€

and that's the whole page!! thank you for reading my lil manual, mwah πŸŽ€βœ¨

corosync-cpgtool(8) β€” last touched 2010-05-30, still serving looks all these years later. periodt. πŸ’…πŸ’–πŸ¦‹