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

[Xen-changelog] Changed xentop.c to include version in the summary.



# 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


 


Rackspace

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