1COROSYNC-CMAP(8)            System Manager's Manual           COROSYNC-CMAP(8)
2
3
4

NAME

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

DESCRIPTION

9       usage:    corosync-cmapctl  [-b]  [-DdghsTt]  [-m  map]  [-p  filename]
10       [params...]
11
12       -b show binary values
13
14       -m select map to use
15
16              The default map is 'icmap' which contains configuration informa‐
17              tion  and some runtime variables used by corosync. A 'stats' map
18              is also available which displays network statistics -  in  great
19              detail  when knet is used as the transport. Tracking of individ‐
20              ual keys (but not prefixes) works on the stats map but notifica‐
21              tions are sent on a timer, and not every time a value changes.
22
23
24   Set key:
25              corosync-cmapctl -s key_name type value
26
27              where type is one of ([i|u][8|16|32|64] | flt | dbl | str | bin)
28              for bin, value is file name (or - for stdin)
29
30   Load settings from a file:
31              corosync-cmapctl -p filename
32
33              the format of the file is: [^[^]]<key_name>[ <type> <value>]
34
35              Keys prefixed with single caret ('^') are deleted (see -d).
36
37              Keys (actually prefixes) prefixed with double caret  ('^^')  are
38              deleted by prefix (see -D).
39
40              <type> and <value> are optional (not checked) in above cases.
41
42              Other  keys  are  set  (see  -s)  so both <type> and <value> are
43              required.
44
45   Delete key:
46              corosync-cmapctl -d key_name...
47
48   Delete multiple keys with prefix:
49              corosync-cmapctl -D key_prefix...
50
51   Get key:
52              corosync-cmapctl [-b] -g key_name...
53
54   Quiet output:
55              corosync-cmapctl [-b] -q -g key_name...
56
57   Display all keys:
58              corosync-cmapctl [-b]
59
60   Display keys with prefix key_name:
61              corosync-cmapctl [-b] key_name...
62
63   Track changes on keys with key_name:
64              corosync-cmapctl [-b] -t key_name
65
66   Track changes on keys with key prefix:
67              corosync-cmapctl [-b] -T key_prefix
68
69   Clear statistics (-mstats is implied)
70              corosync-cmapctl -C [ipc|totem|knet|all]
71
72

SEE ALSO

74       cmap_overview(3), cmap_keys(8)
75
76
77
78                                  2012-01-23                  COROSYNC-CMAP(8)
Impressum