logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

corosync-cmapctl: - A tool for accessing the object database.

Description

       usage:  corosync-cmapctl [-b] [-DdghsTt] [-m map] [-p filename] [params...]

       -b show binary values

       -m select map to use

              The  default  map  is  'icmap' which contains configuration information and some runtime variables
              used by corosync. A 'stats' map is also available which displays network  statistics  -  in  great
              detail when knet is used as the transport. Tracking of individual keys (but not prefixes) works on
              the stats map but notifications are sent on a timer, and not every time a value changes.

   Setkey:
              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 file name (or -
              for stdin)

   Loadsettingsfromafile:
              corosync-cmapctl -p filename

              the format of the file is: [^[^]]<key_name>[ <type> <value>]

              Keys prefixed with single caret ('^') are deleted (see -d).

              Keys (actually prefixes) prefixed with double caret ('^^') are deleted by prefix (see -D).

              <type> and <value> are optional (not checked) in above cases.

              Other keys are set (see -s) so both <type> and <value> are required.

   Deletekey:
              corosync-cmapctl -d key_name...

   Deletemultiplekeyswithprefix:
              corosync-cmapctl -D key_prefix...

   Getkey:
              corosync-cmapctl [-b] -g key_name...

   Quietoutput:
              corosync-cmapctl [-b] -q-g key_name...

   Displayallkeys:
              corosync-cmapctl [-b]

   Displaykeyswithprefixkey_name:
              corosync-cmapctl [-b] key_name...

   Trackchangesonkeyswithkey_name:
              corosync-cmapctl [-b] -t key_name

   Trackchangesonkeyswithkeyprefix:
              corosync-cmapctl [-b] -T key_prefix

   Clearstatistics(-mstatsisimplied)
              corosync-cmapctl -C [ipc|totem|knet|all]

Name

       corosync-cmapctl: - A tool for accessing the object database.

See Also

cmap_overview(3), cmap_keys(7)

                                                   2012-01-23                                   COROSYNC-CMAP(8)

See Also