1CCONF(8) System Manager's Manual CCONF(8)
2
3
4
6 cconf - ceph conf file tool
7
9 cconf -c conffile -l prefix
10 cconf key [ default ] -s section1 ...
11 cconf key [ default ] -i id -t type
12
14 cconf is a utility for extracting values from a "INI" style configura‐
15 tion files. It has three basic modes of operation.
16
17 The first mode simply prints all section names that begin with prefix.
18
19 The second mode extracts an option value by searching through one or
20 more sections, in the order specified on the command line. If the
21 option does not exist in
22
23 The third mode will look in the standard section names for the given
24 daemon id of type type. conffile, an optional default value may be
25 output instead.
26
28 To extract the value of the "osd data" option for the osd0 daemon,
29
30 cconf -c foo.conf "osd data" -i 0 -t osd
31
32 This is equivalent to doing specifying sections [osd0], [osd.0], [osd],
33 or [global], in that order of preference:
34
35 cconf -c foo.conf "osd data" -s osd0 -s osd.0 -s osd -s global
36
37 To list all sections that begin with osd:
38
39 cconf -c foo.conf -l osd
40
42 cconf is part of the Ceph distributed file system. Please refer to the
43 Ceph wiki at http://ceph.newdream.net/wiki for more information.
44
46 ceph(8), mkcephfs(8)
47
48
49
50 CCONF(8)