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

[Xen-devel] Bug 1591 - xentop truncated VM names


  • To: xen-devel@xxxxxxxxxxxxx
  • From: "Michael GroÃer" <michael-grosser@xxxxxx>
  • Date: Fri, 15 Jan 2016 10:17:48 +0100
  • Delivery-date: Fri, 15 Jan 2016 09:17:55 +0000
  • Importance: normal
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Sensitivity: Normal

Hi!
 
Some days ago, I discovered the 'xentop' tool (somebody mentioned it here:
http://discussions.citrix.com/topic/374218-what-can-we-do-to-decrease-the-time-needed-for-snapshot-reverts/
)
 
We work with XenServer 6.5 and we use long names for our virtual
machines to distinguish between them.
 
A machine name can have about 40 characters, but xentop displays only the first
10 characters in the NAME column. The result is, that I cannot identify a
particular VM using xentop.

I read the man page and googled around to find a solution. I found
the page

http://www.bl-nk.net/2014/07/xentop-and-long-server-names/

and created my own quirky solution as follows:

# cd /usr/sbin
# cp xentop xentop_wide
# sed -i 's/10\.10/80\.80/g' xentop_wide

This works for me today, but my common sense tells me that this solution could
cease working after we update to a newer version or that I could demage
some other instructions that accidentally have similar machine codes.

I discovered this 6 years old bug:

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1591

The composer of this bug makes recommendations that I wouldn't recommend, so
that seams to be the reason why the bug is nearly 6 years old without being
solved.

I recommend a very simple and reconcilable problem-solving approach:

- The man page should contain / describe another option, let me call it
  "-w / --column-name-width", which requires a number.

- When starting xentop with "-w 80" or "--column-name-width=80", then
  it should display (in every imaginable work mode) a name column with
  a width of 80 characters.

- The default width should stay of cause at 10 characters, but with such an
  option, I as a user could have a choice.

Please tell me, how is the chance that such an bug fix enters a next possible
release of XenServer, which release number could this be and when will it
roughly appear?

Thanks in advance,
Michael GroÃer

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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