Man Linux: Main Page and Category List

NAME

       cconf - ceph conf file tool

SYNOPSIS

       cconf -c conffile -l prefix
       cconf key [ default ] -s section1 ...
       cconf key [ default ] -i id -t type

DESCRIPTION

       cconf   is   a  utility  for  extracting  values  from  a  "INI"  style
       configuration files.  It has three basic modes of operation.

       The first mode simply prints all section names that begin with  prefix.

       The  second  mode  extracts an option value by searching through one or
       more sections, in the order specified on  the  command  line.   If  the
       option does not exist in

       The  third  mode  will look in the standard section names for the given
       daemon id of type type.  conffile, an optional  default  value  may  be
       output instead.

EXAMPLES

       To extract the value of the "osd data" option for the osd0 daemon,

              cconf -c foo.conf "osd data" -i 0 -t osd

       This is equivalent to doing specifying sections [osd0], [osd.0], [osd],
       or [global], in that order of preference:

              cconf -c foo.conf "osd data" -s osd0 -s osd.0 -s osd -s global

       To list all sections that begin with osd:

              cconf -c foo.conf -l osd

AVAILABILITY

       cconf is part of the Ceph distributed file system.  Please refer to the
       Ceph wiki at http://ceph.newdream.net/wiki for more information.

SEE ALSO

       ceph(8), mkcephfs(8)