similar to: [PATCH] tools/xenstat/xentop/xentop.c -- fix xentop so it returns the correct exit code on invalid argument

Displaying 20 results from an estimated 5000 matches similar to: "[PATCH] tools/xenstat/xentop/xentop.c -- fix xentop so it returns the correct exit code on invalid argument"

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 +++
2007 Oct 02
3
[PATCH] SIGTERM and SIGINT handler to flush xentop -b outputs
# HG changeset patch # User inakoshi.hiroya@jp.fujitsu.com # Date 1191287395 -28800 # Node ID 5543e74774a826b1781893982ed5052312b820fc # Parent 83239b2890723e0c06bad507bb273a970784b18e Flush stdout when xentop -b gets SIGINT and SIGTERM. It is useful 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
2007 Feb 02
1
Bug#409355: xen-utils-common: please make width of hostname column in xentop wider
Package: xen-utils-common Version: 3.0.3-0-2 Severity: wishlist Tags: patch Currently when hostnames are wider than 10 chars, the xentop output is messed up. Please add the following patch to support up to 20 chars, 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
2007 Jun 05
0
[PATCH][XENTOP][4/4] Display blktap statistics.
This patch make xentop output statistics about both blkback and blktap. And, xentop also display back-end driver type in detail view mode. # HG changeset patch # User s-uchida@ap.jp.nec.com # Date 1180665749 -32400 # Node ID 1b36d6f6c7a98728382de93ee23c8c97b0b95dbd # Parent 1768a89bb87824249827d935d7803d8193bdeb05 XENTOP: Displaying blktap information. Signed-off-by: Satoshi UCHIDA
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
2010 May 19
0
[PATCH] xentop: fix sigsegv
On my system, I''m getting SIGSEGVs in xentop because xenstat_node_domain() is returning NULL. Skip the loop if it does rather than crashing. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> diff -r 9dda78d7af3b -r 5895ad758076 tools/xenstat/libxenstat/src/xenstat_linux.c --- a/tools/xenstat/libxenstat/src/xenstat_linux.c Tue May 18 15:38:36 2010 -0700 +++
2006 Nov 01
1
iteration option for xentop?
Hello to all, Does anyone know if there is an iteration option planned for xentop (similar to top) to make it easier for simple shell scripts to scrape the output? I don''t see one in tools/xenstat/xentop/xentop.c , but I''ve been meaning to play with stuff in libxenstat anyway. If its going to be added soon I''ll tinker much later than sooner. TIA :) Best, -Tim
2006 Oct 17
0
[PATCH] misc compile fixes for tools on Solaris
# HG changeset patch # User john.levon@sun.com # Date 1161090738 25200 # Node ID 74d0bc37ec06da88b0c38a1c34c8cc95bc28bdbd # Parent 7a86cb5bb6b6e9164bec378b5fb0a270625a2452 A couple of simple compile fixes for tools/ on Solaris. Signed-off-by: John Levon <john.levon@sun.com> diff --git a/config/Linux.mk b/config/Linux.mk --- a/config/Linux.mk +++ b/config/Linux.mk @@ -21,6 +21,7 @@
2006 Jun 03
4
xentop.c error
Just downloaded the xen-unstable and updated it using mercurial. When i try to do a make install on a Celeron D 64bit processor, i get the following error: xentop.c:291: error: `KEY_DOWN'' undeclared (first use in this function) xentop.c:294: error: `KEY_UP'' undeclared (first use in this function) xentop.c:314: error: `KEY_BACKSPACE'' undeclared (first use in this
2010 May 25
0
Loss of hypervisor control - xm, xentop
I am running xen 3.2-1 (Debian 3.2.1-2) on Debian Lenny (2.6.26-2-xen-amd64 #1 SMP Wed Mar 10) on two identical production systems. This morning on one of the systems, xentop stopped displaying. Running xentop results in: unable to open xenstore : Connection refused Failed to initialize xenstat library xm list: Error: (9, ''Bad file descriptor'') xm dmseg: Error: Subcommand
2006 Oct 17
0
[PATCH] Fixes for linking on Solaris
# HG changeset patch # User john.levon@sun.com # Date 1161090130 25200 # Node ID afeef751f9dafa771726bcfb00b29a10b0baeabd # Parent 7147e57f18552bbb8d25155cc1c635315283ee31 On Solaris, GCC is configured to use Sun''s LD. Fix the build to use the correct flags, and link against libsocket where necessary. Signed-off-by: John Levon <john.levon@sun.com> diff --git a/config/Linux.mk
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 missing characters to strpbrk call. Signed-off-by: Miroslav Rezanina
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
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_name(xen { char path[80]; char *name; - unsigned int
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
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
2007 Jun 05
0
[PATCH][XENTOP][0/4] Display blktap statistics.
Hi. These patches add the output function for blktap statistics into xentop. Currently, xentop outputs only blkback statistics, and not blktap statistics. By these patches, xentop is made cover both blkback and blktap. In xen, back-end driver has two types; blkback and blktap. Blkback driver is old back-end driver. Blktap driver is new back-end driver and is recommended currently. Usage of both
2007 Jan 28
0
[PATCH] Fix return code of xentop
Hi, When I tested the xentop with a wrong option, the xentop returned the return code 0. # xentop --abc xentop: unrecognized option `--abc'' Usage: xentop [OPTION] Displays ongoing information about xen vm resources <snip> # echo $? 0 If the wrong option was specified, I think that the xentop had better return the return code 1 (or not 0). This patch fixes the return code of
2008 Mar 14
0
[PATCH] Add periodic fflush to xentop batch mode.
Add periodic fflush to xentop(batch mode). If you want to make monitor tool using the following command, you can not get output every some seconds. xentop -b -d 1 > xentop.log (above tool use tail command to get periodic data from xentop.log) This patch is useful when you get xentop output(batch mode) periodicaly using pipe. Best Regards, Yusuke Kaneki ---- *** old/xentop.c
2005 Sep 08
1
xentop CPU% wrong?
Hello, I noticed that the CPU% reported by xentop appears to be too high. With dom0 idle xentop is reporting between 14-17% CPU utilization while at the same time top in dom0 is reporting 1-4% CPU utilization. I see that the TODO for xentop includes a task to make CPU% more accurate but looking at the code for xentop and libxenstat I''m not sure how to go about this. Assuming the CPU