server: add ETA as a specific command
[fio.git] / fio.c
diff --git a/fio.c b/fio.c
index 765c5179758597d451d2df4ecde6df16c518742f..10746062927f32b0c6956c0770ec88ba416f8747 100644 (file)
--- a/fio.c
+++ b/fio.c
@@ -139,7 +139,11 @@ static void *disk_thread_main(void *data)
                if (!threads)
                        break;
                update_io_ticks();
                if (!threads)
                        break;
                update_io_ticks();
-               print_thread_status();
+
+               if (is_backend)
+                       fio_server_send_status();
+               else
+                       print_thread_status();
        }
 
        return NULL;
        }
 
        return NULL;