ia64/xen-unstable

changeset 17226:2ed94b9b10b3

Add periodic fflush to xentop batch mode.
From: Yusuke KANEKI <Kaneki.Yusuke@ea.MitsubishiElectric.co.jp>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 18 11:04:20 2008 +0000 (2008-03-18)
parents 3ab6635f783d
children 939ceafa5ef9
files tools/xenstat/xentop/xentop.c
line diff
     1.1 --- a/tools/xenstat/xentop/xentop.c	Tue Mar 18 11:02:00 2008 +0000
     1.2 +++ b/tools/xenstat/xentop/xentop.c	Tue Mar 18 11:04:20 2008 +0000
     1.3 @@ -1121,6 +1121,7 @@ int main(int argc, char **argv)
     1.4  		do {
     1.5  			gettimeofday(&curtime, NULL);
     1.6  			top();
     1.7 +			fflush(stdout);
     1.8  			oldtime = curtime;
     1.9  			if ((!loop) && !(--iterations))
    1.10  				break;