-l Generate per-job latency logs
-w Generate per-job bandwidth logs
-f <file> Read <file> for job descriptions
+ -v Print version information and exit
The <jobs> format is as follows:
#define DEF_USE_THREAD (0)
#define DEF_FILE_SIZE (1024 * 1024 * 1024UL)
+static char fio_version_string[] = "fio 1.0";
+
static int repeatable = DEF_RAND_REPEAT;
static char *ini_file;
static int max_jobs = MAX_JOBS;
{
int c;
- while ((c = getopt(argc, argv, "s:b:t:r:R:o:f:lw")) != EOF) {
+ while ((c = getopt(argc, argv, "s:b:t:r:R:o:f:lwv")) != EOF) {
switch (c) {
case 's':
def_thread.sequential = !!atoi(optarg);
case 'w':
write_bw_log = 1;
break;
+ case 'v':
+ printf("%s\n", fio_version_string);
+ exit(0);
}
}
}