From 2376142a75e2e53d5f1a8b829fdda87d667f172e Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 18 Mar 2008 11:04:20 +0000 Subject: Add periodic fflush to xentop batch mode. From: Yusuke KANEKI Signed-off-by: Keir Fraser --- tools/xenstat/xentop/xentop.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/xenstat') diff --git a/tools/xenstat/xentop/xentop.c b/tools/xenstat/xentop/xentop.c index 5e1f5ef8d1..52fb343376 100644 --- a/tools/xenstat/xentop/xentop.c +++ b/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; -- cgit v1.2.3