COROSYNC-CMAP(8)
β¨ NAME β¨
corosync-cmapctl β a tool for accessing the object database. π lowkey iconic, fr.
π¦ DESCRIPTION π¦
okay bestie, here's the whole vibe. the usage goes a lil something like this:
usage: corosync-cmapctl [-b] [-DdghsTt] [-m map] [-p filename] [params...]
and here are the flags that get their own lil moment:
-bβ show binary values π«Ά-mβ pick which map you wanna use πΊοΈ- the default map is
'icmap', and it's holding the configuration info plus some runtime variables that corosync uses. very main character. - there's also a
'stats'map, which shows off network statistics β and it gets so detailed when knet is the transport. π - tracking individual keys (but not prefixes, bestie, pay attention) works on the stats map, but notifications are sent on a timer, and not every time a value changes. so like, don't come for me if it's a lil delayed. β°
- the default map is
β¨ Set key β¨
corosync-cmapctl -s key_name type value
where type is one of ([i|u][8|16|32|64] | flt | dbl | str | bin) π§
for bin, value is a file name (or - for stdin). yes literally a whole file, not just some text. π
πΈ Load settings from a file πΈ
corosync-cmapctl -p filename
the format of the file is: [^[^]]<key_name>[ <type> <value>]
- keys prefixed with a single caret (
'^') are deleted (see-d). π - keys (actually prefixes, don't be fooled) prefixed with a double caret (
'^^') are deleted by prefix (see-D). <type>and<value>are optional (not checked) in the above cases.- other keys are set (see
-s) so both<type>and<value>are required. no skipping, periodt. π
π Delete key π
corosync-cmapctl -d key_name...
π Delete multiple keys with prefix π
corosync-cmapctl -D key_prefix...
β Get key β
corosync-cmapctl [-b] -g key_name...
π€« Quiet output π€«
corosync-cmapctl [-b] -q -g key_name...
π Display all keys π
corosync-cmapctl [-b]
π¦ Display keys with prefix key_name π¦
corosync-cmapctl [-b] key_name...
π Track changes on keys with key_name π
corosync-cmapctl [-b] -t key_name
π₯ Track changes on keys with key prefix π₯
corosync-cmapctl [-b] -T key_prefix
π§Ή Clear statistics π§Ή
(-mstats is implied, bestie, you don't gotta say it)
corosync-cmapctl -C [ipc|totem|knet|all]
π SEE ALSO π
cmap_overview(3), cmap_keys(7)
okay that's the whole page, we ate and left no crumbs πβ¨ this one's from the System Manager's Manual (that's the manual name, cute right?), stamped 2012-01-23 and signed COROSYNC-CMAP(8) at the bottom. mwah, go forth and manage your objects. π π
π¦ where this page comes from
- debian bookworm: corosync 3.1.7-1+deb12u2 Β· BSD-3-Clause
- debian trixie: corosync 3.1.9-2+deb13u1 Β· BSD-3-Clause
- epel 9: corosync 3.1.10-0.2.el9.1 Β· BSD-3-Clause
- fedora 43: corosync 3.1.10-3.fc43 Β· BSD-3-Clause
- fedora 43: corosync 3.1.9-5.fc43 Β· BSD-3-Clause
- fedora 44: corosync 3.1.10-4.fc44 Β· BSD-3-Clause
- fedora 44: corosync 3.1.10-6.fc44 Β· BSD-3-Clause
- nixos 26.05: corosync 3.1.9
- nixpkgs unstable: corosync 3.1.9
- opensuse-leap 16.0: corosync 3.1.9-160000.4.1 Β· BSD-3-Clause
- opensuse-leap 16.0: corosync 3.1.9-160000.4.1 Β· BSD-3-Clause
- opensuse-leap 16.0: corosync 3.1.9-160000.4.1 Β· BSD-3-Clause
- opensuse-leap 16.0: corosync 3.1.9-160000.4.1 Β· BSD-3-Clause
- ubuntu jammy: corosync 3.1.6-1ubuntu1 Β· BSD-3-Clause
- ubuntu jammy: corosync 3.1.6-1ubuntu1.2 Β· BSD-3-Clause
- ubuntu noble: corosync 3.1.7-1ubuntu3 Β· BSD-3-Clause
- ubuntu noble: corosync 3.1.7-1ubuntu3.2 Β· BSD-3-Clause
- ubuntu questing: corosync 3.1.9-2ubuntu1
- ubuntu questing: corosync 3.1.9-2ubuntu1.1
- ubuntu resolute: corosync 3.1.9-2ubuntu3 Β· BSD-3-Clause
- ubuntu stonking: corosync 3.1.10-3ubuntu1 Β· BSD-3-Clause
- Copyright (C) 2010 Red Hat, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms