All of lore.kernel.org
 help / color / mirror / Atom feed
* Bug 1591 - xentop truncated VM names
@ 2016-01-15  9:17 "Michael Großer"
  2016-01-20  8:56 ` Bug 1591 - xentop truncates " "Michael Großer"
  0 siblings, 1 reply; 3+ messages in thread
From: "Michael Großer" @ 2016-01-15  9:17 UTC (permalink / raw)
  To: xen-devel

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@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug 1591 - xentop truncates VM names
  2016-01-15  9:17 Bug 1591 - xentop truncated VM names "Michael Großer"
@ 2016-01-20  8:56 ` "Michael Großer"
  2016-01-20 10:27   ` Ian Campbell
  0 siblings, 1 reply; 3+ messages in thread
From: "Michael Großer" @ 2016-01-20  8:56 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/html, Size: 3821 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug 1591 - xentop truncates VM names
  2016-01-20  8:56 ` Bug 1591 - xentop truncates " "Michael Großer"
@ 2016-01-20 10:27   ` Ian Campbell
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Campbell @ 2016-01-20 10:27 UTC (permalink / raw)
  To: "Michael Großer", xen-devel

On Wed, 2016-01-20 at 09:56 +0100, 
> Hi!
>  
> Can anybody tell me please where I have to post bugs like this to
> find the right contact person who is qualified to fix or even to discuss
> it?
>  
> Is xen-devel@lists.xen.org the right list for this?

For XenServer related bugs:

If you are a Citrix customer in which case you will have a Support contact
which you should use.

Otherwise the right place is somewhere on www.xenserver.org (forums, lists
etc), since that is a separate downstream project from xen.org
(xenproject).

For upstream/XenProject related buts:
xen-devel@lists.xen.org is the right place, the process/expectations are
described more fully at http://wiki.xen.org/wiki/Reporting_Bugs_against_Xen
 .

At least in recent xen.org releases xentop takes a -f/--full-name option
which does not truncate the name:

root@st40:~# xentop -f -b
                                                                                                                      NAME  STATE   CPU(sec) CPU(%)     MEM(k) MEM(%)  MAXMEM(k) MAXMEM(%) VCPUS NETS NETTX(k) NETRX(k) VBDS   VBD_OO   VBD_RD   VBD_WR  VBD_RSECT  VBD_WSECT SSID
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -----r         56    0.0     524288    6.3     525312       6.3     1    1       53        1    2        0     1991       43      50738        824    0
                                                                                                                  Domain-0 -----r        308    0.0     522484    6.2     524288       6.3     8    0        0        0    0        0        0        0          0          0    0


So if this isn't present in XenServer then you want to be talking to them
or your Support person.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-20 10:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-15  9:17 Bug 1591 - xentop truncated VM names "Michael Großer"
2016-01-20  8:56 ` Bug 1591 - xentop truncates " "Michael Großer"
2016-01-20 10:27   ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.