WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [XENTOP] Fix CPU percentage display in ba

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XENTOP] Fix CPU percentage display in batch mode.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 28 Jun 2006 13:50:22 +0000
Delivery-date: Wed, 28 Jun 2006 06:53:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 7a7066ae2e778036c5db84c5ffe35d8206b6edb6
# Parent  e5cf18c05e8b438d5d543fe664aa83bf2c4e70c5
[XENTOP] Fix CPU percentage display in batch mode.
From: shaocyou <shaocyou@xxxxxxxxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/xenstat/xentop/xentop.c |    1 +
 1 files changed, 1 insertion(+)

diff -r e5cf18c05e8b -r 7a7066ae2e77 tools/xenstat/xentop/xentop.c
--- a/tools/xenstat/xentop/xentop.c     Wed Jun 28 10:22:13 2006 +0100
+++ b/tools/xenstat/xentop/xentop.c     Wed Jun 28 10:24:05 2006 +0100
@@ -904,6 +904,7 @@ int main(int argc, char **argv)
                        do {
                                gettimeofday(&curtime, NULL);
                                top();
+                               oldtime = curtime;
                                sleep(delay);
                                if ((!loop) && !(--iterations))
                                        break;

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [XENTOP] Fix CPU percentage display in batch mode., Xen patchbot-unstable <=