search for: xenstat

Displaying 20 results from an estimated 46 matches for "xenstat".

Did you mean: genstat
2005 Oct 17
2
libxenstat python bindings
Hi I seem to be having a little trouble with libxenstat, and was wondering if the xenstat guys might be able to help. I''ve pulled the xen-unstable.hg tree and done a somewhat clean install (ie, post-make uninstall, as well as deleting the relevant libxenstat libraries). Next, I entered the tools/xenstat/libxenstat directory and modified the M...
2005 Oct 27
2
[PATCH] Enable xenstat to use xenstore & fix bugzilla #311
Signed-off-by: Jerone Young <jyoung5@us.ibm.com> -- Jerone Young IBM Linux Technology Center jyoung5@us.ibm.com 512-838-1157 (T/L: 678-1157) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2012 Mar 22
5
Regarding xenstat [test.c:3:24: fatal error: xenstat.h: No such file or directory]
Hi I am using xen4.0.3 in Opensuse11.4. I need to do the monitoring of VM''s and on that basis take the migration decision so I am trying to write my own xentop like program. But I am facing trouble while using xenstat.h in my C program. test.c:3:24: fatal error: xenstat.h: No such file or directory But my xentop is working fine. What to do in this case. How to use libxenstat library in my C program. Or if you have any other idea regarding Monitoring and migration. Please share. Thank you -- Tasvinder Singh _...
2012 Jan 09
1
[PATCH] xenstat: Correct copy of network device name
When xenstat library parse /proc/net/dev, it uses strpbrk function to get pointer to device name. However, it miss capital letters in the array of valid characters so it get incorrect name in case device name starts with capital letters or even segfault if it contains only capital letters. This patch adds miss...
2005 Oct 31
0
[PATCH] wild pointer in xenstat.c
There is an error in xenstat, such that a wild pointer is being dereferenced and written to. Signed-off-by: Charles Coffing <ccoffing@novell.com> --- xen-unstable.orig/tools/xenstat/libxenstat/src/xenstat.c +++ xen-unstable/tools/xenstat/libxenstat/src/xenstat.c @@ -704,7 +704,7 @@ static char *xenstat_get_domain_nam...
2006 Oct 17
0
[PATCH] Fixes for linking on Solaris
...libxutil.so.$(MAJO ln -sf $^ $@ libxutil.so.$(MAJOR).$(MINOR): $(PIC_OBJS) - $(CC) $(CFLAGS) -Wl,-soname -Wl,libxutil.so.$(MAJOR) -shared -o $@ $^ + $(CC) $(CFLAGS) $(SONAME_LDFLAG) -Wl,libxutil.so.$(MAJOR) $(SHLIB_FLAGS) -o $@ $^ libxutil.a: $(LIB_OBJS) $(AR) rc $@ $^ diff --git a/tools/xenstat/libxenstat/Makefile b/tools/xenstat/libxenstat/Makefile --- a/tools/xenstat/libxenstat/Makefile +++ b/tools/xenstat/libxenstat/Makefile @@ -30,7 +30,7 @@ SHLIB=src/libxenstat.so.$(MAJOR).$(MINOR SHLIB=src/libxenstat.so.$(MAJOR).$(MINOR) SHLIB_LINKS=src/libxenstat.so.$(MAJOR) src/libxenstat.so OB...
2006 Jul 31
1
[PATCH 5/6] xen, tools: calculate nr_cpus via num_online_cpus
...rper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 ryanh@us.ibm.com diffstat output: tools/python/xen/lowlevel/xc/xc.c | 3 ++- tools/python/xen/xend/XendNode.py | 4 ---- tools/xenmon/xenbaked.c | 5 +---- tools/xenstat/libxenstat/src/xenstat.c | 4 +--- tools/xentrace/xentrace.c | 5 +---- xen/arch/ia64/xen/dom0_ops.c | 1 + xen/arch/x86/dom0_ops.c | 2 +- xen/include/public/dom0_ops.h | 1 + 8 files changed, 8 insertions(+), 17 deletions(-) Signed-of...
2010 Oct 22
0
[PATCH] tools/xenstat/xentop/xentop.c -- fix xentop so it returns the correct exit code on invalid argument
...o remove the case ''?'' so that the default match could be triggered. Quote from `man 3 getopt` "If getopt() does not recognize an option character, it prints an error message to stderr, stores the character in optopt, and returns ''?''." --- tools/xenstat/xentop/xentop.c-orig 2010-10-22 15:20:13.000000000 -0700 +++ tools/xenstat/xentop/xentop.c 2010-10-22 15:20:21.000000000 -0700 @@ -1135,7 +1135,6 @@ default: usage(argv[0]); exit(1); - case ''?''...
2009 Dec 04
0
Failed to initialize xenstat library.
...pv_ops tree but, the xen wasn''t running smootly... When I try to start the xend and try to see it, I got: root@tcmc-dell:~# /etc/init.d/xend stop root@tcmc-dell:~# /etc/init.d/xend start ......... root@tcmc-dell:~# xm top *unable to open xenstore: Connection refused Failed to initialize xenstat library* Maybe miss I something?! Thanks! Thiago _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2007 Sep 24
0
[PATCH] xenstat/xenstore: NetBSD specific pieces
Hi! Attached patch adds NetBSD specific pieces to xenstat and xenstore. Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> -- AMD Saxony, Dresden, Germany Operating System Research Center Legal Information: AMD Saxony Limited Liability Company & Co. KG Sitz (Geschäftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland...
2009 Dec 04
0
Failed to initialize xenstat library.
...pv_ops tree but, the xen wasn''t running smootly... When I try to start the xend and try to see it, I got: root@tcmc-dell:~# /etc/init.d/xend stop root@tcmc-dell:~# /etc/init.d/xend start ......... root@tcmc-dell:~# xm top *unable to open xenstore: Connection refused Failed to initialize xenstat library* Maybe miss I something?! Thanks! Thiago _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2006 Oct 17
0
[PATCH] misc compile fixes for tools on Solaris
...t argc, char **argv) print_string_note("FEATURES", note); break; default: - printf("unknown note type %#x\n", note->n_type); + printf("unknown note type %#x\n", + (unsigned int)note->n_type); break; } } diff --git a/tools/xenstat/xentop/Makefile b/tools/xenstat/xentop/Makefile --- a/tools/xenstat/xentop/Makefile +++ b/tools/xenstat/xentop/Makefile @@ -25,7 +25,7 @@ sbindir=$(prefix)/sbin CFLAGS += -DGCC_PRINTF -Wall -Werror -I$(XEN_LIBXENSTAT) LDFLAGS += -L$(XEN_LIBXENSTAT) -LDLIBS += -lxenstat -lncurses $(SOCKET_LIBS)...
2007 Oct 02
3
[PATCH] SIGTERM and SIGINT handler to flush xentop -b outputs
...eful when you stop xentop -b by keyboard interrupt or by other programs such as killall from a batch script. You would have missed the bottom part of xentop outputs without this patch. Signed-off-by: INAKOSHI Hiroya <inakoshi.hiroya@jp.fujitsu.com> diff -r 83239b289072 -r 5543e74774a8 tools/xenstat/xentop/xentop.c --- a/tools/xenstat/xentop/xentop.c Thu Sep 27 16:29:43 2007 -0600 +++ b/tools/xenstat/xentop/xentop.c Tue Oct 02 09:09:55 2007 +0800 @@ -31,6 +31,7 @@ #if defined(__linux__) #include <linux/kdev_t.h> #endif +#include <signal.h> #include <xenstat.h> @@ -1011,...
2008 Jun 10
0
[PATCH][TOOLS] xenstat: some cleanups
Hi! Attached patch does some cleanups: sprintf -> snprintf malloc(n * m) -> calloc(n, m) get rid of a cast Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> -- AMD Saxony, Dresden, Germany Operating System Research Center Legal Information: AMD Saxony Limited Liability Company & Co. KG Sitz (Geschäftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
2009 Jul 06
8
[PATCH] Fix xentop on pv-ops domain0
Xentop encounters error in pv-ops domain0, because the VBD path in sysfs changes to "/sys/devices" Also delete the macro in xenstat_netbsd.c, because it is not used. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Best Regards, -- Dongxiao _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2006 Oct 25
3
[REQEST] about xentop -b
xentop "-b" options are duplicateded(--batch and --vbds). from xen-unstable 10623 Please fix it. http://xenbits.xensource.com/xen-unstable.hg?cs=856caf975abd Thanks, Atsushi SAKAI _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2007 Feb 26
0
[PATCH] Fix for Solaris compile/output for VBDs in xentop
# HG changeset patch # User john.levon@sun.com # Date 1172534164 28800 # Node ID 37fce3c0c10baee370ecc39b6a50fed8b232bd69 # Parent 4998793aa87729fbe8a582faa3a22c9ecfefe13c Fix for Solaris compile/output for VBDs in xentop. Signed-off-by: John Levon <john.levon@sun.com> diff --git a/tools/xenstat/xentop/xentop.c b/tools/xenstat/xentop/xentop.c --- a/tools/xenstat/xentop/xentop.c +++ b/tools/xenstat/xentop/xentop.c @@ -918,11 +918,19 @@ void do_vbd(xenstat_domain *domain) num_vbds = xenstat_domain_num_vbds(domain); for (i=0 ; i< num_vbds; i++) { + char details[20]; + vbd = xenst...
2007 Oct 19
4
[PATCH] nr_cpus calculation problem due to incorrect sockets_per_node
Testing on an 8-node 128-way NUMA machine has exposed a problem with Xen''s nr_cpus calculation. In this case, since Xen cuts off recognized CPUs at 32, the machine appears to have 16 CPUs on the first and second nodes and none on the remaining nodes. Given this asymmetry, the calculation of sockets_per_node (which is later used to calculate nr_cpus) is incorrect:
2007 Feb 02
1
Bug#409355: xen-utils-common: please make width of hostname column in xentop wider
...ars, or better yet, allow the columns to auto size :) #! /bin/sh /usr/share/dpatch/dpatch-run ## xentop-name-width.dpatch by <apeeters@lashout.net> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. @DPATCH@ diff -urNad xen-3.0-3.0.3-0~/tools/xenstat/xentop/xentop.c xen-3.0-3.0.3-0/tools/xenstat/xentop/xentop.c --- xen-3.0-3.0.3-0~/tools/xenstat/xentop/xentop.c 2006-10-20 12:26:02.000000000 +0200 +++ xen-3.0-3.0.3-0/tools/xenstat/xentop/xentop.c 2007-02-02 10:30:19.000000000 +0100 @@ -144,7 +144,7 @@ } field; field fields[] = { -...
2006 Sep 29
4
[PATCH 4/6] xen: export NUMA topology in physinfo hcall
...| 4 + tools/libxc/xenctrl.h | 3 tools/python/xen/lowlevel/xc/xc.c | 77 ++++++++++++++++---- tools/python/xen/xend/XendNode.py | 67 +++++++++++++++++ tools/xenmon/xenbaked.c | 3 tools/xenstat/libxenstat/src/xenstat.c | 3 tools/xentrace/xentrace.c | 3 tools/xm-test/tests/info/02_info_compiledata_pos.py | 4 - xen/arch/x86/sysctl.c | 51 ++++++++++++- xen/include/public/arch-x86_32.h |...