[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Add periodic fflush to xentop batch mode.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1205838260 0
# Node ID 2ed94b9b10b3770d7bfd7346f532b70e70be35c1
# Parent  3ab6635f783d61e1f73ccf26074f80d8e9259a6d
Add periodic fflush to xentop batch mode.
From: Yusuke KANEKI <Kaneki.Yusuke@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/xenstat/xentop/xentop.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 3ab6635f783d -r 2ed94b9b10b3 tools/xenstat/xentop/xentop.c
--- a/tools/xenstat/xentop/xentop.c     Tue Mar 18 11:02:00 2008 +0000
+++ b/tools/xenstat/xentop/xentop.c     Tue Mar 18 11:04:20 2008 +0000
@@ -1121,6 +1121,7 @@ int main(int argc, char **argv)
                do {
                        gettimeofday(&curtime, NULL);
                        top();
+                       fflush(stdout);
                        oldtime = curtime;
                        if ((!loop) && !(--iterations))
                                break;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.