int write_lat_log = 0;
int write_bw_log = 0;
int exitall_on_terminate = 0;
+int terse_output = 0;
unsigned long long mlock_size = 0;
FILE *f_out = NULL;
FILE *f_err = NULL;
ddir = td->ddir + (!td->sequential << 1) + (td->iomix << 2);
- if (!job_add_num)
- fprintf(f_out, "%s: (g=%d): rw=%s, odir=%d, bs=%d-%d, rate=%d, ioengine=%s, iodepth=%d\n", td->name, td->groupid, ddir_str[ddir], td->odirect, td->min_bs, td->max_bs, td->rate, td->io_engine_name, td->iodepth);
- else if (job_add_num == 1)
- fprintf(f_out, "...\n");
+ if (!terse_output) {
+ if (!job_add_num)
+ fprintf(f_out, "%s: (g=%d): rw=%s, odir=%d, bs=%d-%d, rate=%d, ioengine=%s, iodepth=%d\n", td->name, td->groupid, ddir_str[ddir], td->odirect, td->min_bs, td->max_bs, td->rate, td->io_engine_name, td->iodepth);
+ else if (job_add_num == 1)
+ fprintf(f_out, "...\n");
+ }
/*
* recurse add identical jobs, clear numjobs and stonewall options
static void usage(char *name)
{
printf("%s\n", fio_version_string);
- printf("\t-s IO is sequential\n");
- printf("\t-b Block size in KiB for each IO\n");
+ printf("\t-o Write output to file\n");
printf("\t-t Runtime in seconds\n");
- printf("\t-R Exit all threads on failure to meet rate goal\n");
- printf("\t-o Use O_DIRECT\n");
printf("\t-l Generate per-job latency logs\n");
printf("\t-w Generate per-job bandwidth logs\n");
+ printf("\t-m Minimal (terse) output\n");
printf("\t-f Job file (Required)\n");
printf("\t-v Print version info and exit\n");
}
{
int c, idx = 1, ini_idx = 0;
- while ((c = getopt(argc, argv, "t:o:f:lwvh")) != EOF) {
+ while ((c = getopt(argc, argv, "t:o:f:lwvhm")) != EOF) {
switch (c) {
case 't':
def_timeout = atoi(optarg);
f_err = f_out;
idx++;
break;
+ case 'm':
+ terse_output = 1;
+ idx++;
+ break;
case 'h':
usage(argv[0]);
exit(0);