The following changes since commit 4f7e57a42e348a643e0b7d50356597ded7010b83: Enhance the reaped status display (2012-03-30 21:21:20 +0200) are available in the git repository at: git://git.kernel.dk/fio.git master Jens Axboe (2): HOWTO: update to note base of latencies in minimal/terse output Add indication of whether a job got killed HOWTO | 13 +++++++------ backend.c | 2 ++ eta.c | 2 ++ fio.h | 1 + 4 files changed, 12 insertions(+), 6 deletions(-) --- Diff of recent changes: diff --git a/HOWTO b/HOWTO index 62c70cb..662689e 100644 --- a/HOWTO +++ b/HOWTO @@ -1341,6 +1341,7 @@ I Thread initialized, waiting. E Thread exited, not reaped by main thread yet. _ Thread reaped, or X Thread reaped, exited with an error. +K Thread reaped, exited due to signal. The other values are fairly self explanatory - number of threads currently running and doing io, rate of io since last check (read speed @@ -1469,17 +1470,17 @@ Split up, the format is as follows: terse version, fio version, jobname, groupid, error READ status: Total IO (KB), bandwidth (KB/sec), IOPS, runtime (msec) - Submission latency: min, max, mean, deviation - Completion latency: min, max, mean, deviation + Submission latency: min, max, mean, deviation (usec) + Completion latency: min, max, mean, deviation (usec) Completion latency percentiles: 20 fields (see below) - Total latency: min, max, mean, deviation + Total latency: min, max, mean, deviation (usec) Bw: min, max, aggregate percentage of total, mean, deviation WRITE status: Total IO (KB), bandwidth (KB/sec), IOPS, runtime (msec) - Submission latency: min, max, mean, deviation - Completion latency: min, max, mean, deviation + Submission latency: min, max, mean, deviation (usec) + Completion latency: min, max, mean, deviation (usec) Completion latency percentiles: 20 fields (see below) - Total latency: min, max, mean, deviation + Total latency: min, max, mean, deviation (usec) Bw: min, max, aggregate percentage of total, mean, deviation CPU usage: user, system, context switches, major faults, minor faults IO depths: <=1, 2, 4, 8, 16, 32, >=64 diff --git a/backend.c b/backend.c index 23734d5..ec42a5c 100644 --- a/backend.c +++ b/backend.c @@ -1294,6 +1294,7 @@ static void reap_threads(unsigned int *nr_running, unsigned int *t_rate, if (errno == ECHILD) { log_err("fio: pid=%d disappeared %d\n", (int) td->pid, td->runstate); + td->sig = ECHILD; td_set_runstate(td, TD_REAPED); goto reaped; } @@ -1305,6 +1306,7 @@ static void reap_threads(unsigned int *nr_running, unsigned int *t_rate, if (sig != SIGTERM) log_err("fio: pid=%d, got signal=%d\n", (int) td->pid, sig); + td->sig = sig; td_set_runstate(td, TD_REAPED); goto reaped; } diff --git a/eta.c b/eta.c index 4ad6762..7e837ba 100644 --- a/eta.c +++ b/eta.c @@ -20,6 +20,8 @@ static void check_str_update(struct thread_data *td) case TD_REAPED: if (td->error) c = 'X'; + else if (td->sig) + c = 'K'; else c = '_'; break; diff --git a/fio.h b/fio.h index f59265a..cf2e3c5 100644 --- a/fio.h +++ b/fio.h @@ -310,6 +310,7 @@ struct thread_data { struct frand_state __next_file_state; }; int error; + int sig; int done; pid_t pid; char *orig_buffer; -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html