}
static const char *CONF_METAVARIABLES[] =
- { "cluster", "type", "name", "host", "num", "id", "pid" };
+ { "cluster", "type", "name", "host", "num", "id", "pid", "cctid" };
static const int NUM_CONF_METAVARIABLES =
(sizeof(CONF_METAVARIABLES) / sizeof(CONF_METAVARIABLES[0]));
out += name.get_id().c_str();
else if (var == "pid")
out += stringify(getpid());
+ else if (var == "cctid")
+ out += stringify((unsigned long long)this);
else
assert(0); // unreachable
expanded = true;