corosync-cpgtool - A tool for displaying cpg groups and members.
corosync-cpgtool [-d delimiter] [-e] [-n] [-h]
corosync-cpgtool A tool for displaying cpg groups and members.
-d |
Delimiter between fields. |
|||
-e |
Don’t escape unprintable characters in group name. |
|||
-n |
Display only all existing group names. |
|||
-h |
Display this help. |
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)
Get a comma-delimited list.
$ corosync-cpgtool -d
","
GRP_NAME,PID,NODEID
example-group,2515,191146176
example-group,2471,207923392
Just get the group names
$ corosync-cpgtool -n
example-group
corosync_overview(7),
Angus Salkeld