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] Changed xentop.c to include version in the summary.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Changed xentop.c to include version in the summary.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 26 Aug 2005 08:52:12 +0000
Delivery-date: Fri, 26 Aug 2005 08:50:52 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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 cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID a032aca565a39e2c370c01c5bb2124bf8d1700ee
# Parent  28ffa7296a44cd7f5a8ac6d71f66276f7a50a063
Changed xentop.c to include version in the summary.
Signed-off-by: Judy Fischbach <jfisch@xxxxxxxxxx>
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r 28ffa7296a44 -r a032aca565a3 tools/xenstat/xentop/xentop.c
--- a/tools/xenstat/xentop/xentop.c     Fri Aug 26 08:49:31 2005
+++ b/tools/xenstat/xentop/xentop.c     Fri Aug 26 08:50:02 2005
@@ -593,6 +593,7 @@
 #define TIME_STR_LEN 9
        const char *TIME_STR_FORMAT = "%H:%M:%S";
        char time_str[TIME_STR_LEN];
+       const char *ver_str;
        unsigned run = 0, block = 0, pause = 0,
                 crash = 0, dying = 0, shutdown = 0;
        unsigned i, num_domains = 0;
@@ -603,7 +604,8 @@
        strftime(time_str, TIME_STR_LEN, TIME_STR_FORMAT,
                 localtime(&curtime.tv_sec));
        num_domains = xenstat_node_num_domains(cur_node);
-       print("xentop - %s\n", time_str);
+       ver_str = xenstat_node_xen_ver( cur_node);
+       print("xentop - %s   Xen %s\n", time_str, ver_str);
 
        /* Tabulate what states domains are in for summary */
        for (i=0; i < num_domains; i++) {

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Changed xentop.c to include version in the summary., Xen patchbot -unstable <=