# HG changeset patch # User Keir Fraser # Date 1205838260 0 # Node ID 2ed94b9b10b3770d7bfd7346f532b70e70be35c1 # Parent 3ab6635f783d61e1f73ccf26074f80d8e9259a6d Add periodic fflush to xentop batch mode. From: Yusuke KANEKI Signed-off-by: Keir Fraser Index: xen-3.2-testing/tools/xenstat/xentop/xentop.c =================================================================== --- xen-3.2-testing.orig/tools/xenstat/xentop/xentop.c +++ xen-3.2-testing/tools/xenstat/xentop/xentop.c @@ -1121,6 +1121,7 @@ int main(int argc, char **argv) do { gettimeofday(&curtime, NULL); top(); + fflush(stdout); oldtime = curtime; if ((!loop) && !(--iterations)) break;