/* Copyright (c) 2017-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "net.h"
#include "istream.h"
#include "str.h"
#include "strescape.h"
#include "write-full.h"
#include "master-service.h"
#include "doveadm.h"
#include "doveadm-print.h"
{
if (args_count > fields_count)
for (i = 0; i < args_count; i++)
doveadm_print((*args)[i]);
*args += args_count;
}
{
char *line;
int fd;
for (i = 0; i < fields_count; i++) {
}
"%s is not a compatible stats-reader socket", path);
}
doveadm_print_header_simple("metric_name");
doveadm_print_header_simple("field");
for (i = 0; i < fields_count; i++)
if (line[0] == '\0')
break;
T_BEGIN {
const char *const *args =
doveadm_print("duration");
}
} T_END;
}
if (input->stream_errno != 0)
}
static void
{
const char *path;
bool reset;
const char *const fields[] = {
};
return;
}
.name = "stats dump",
.usage = "[-s <stats socket path>] [-r]",
};