[libvirt] RFE: virsh list improvement (--description and --details)

Peter Krempa pkrempa at redhat.com
Thu May 4 15:17:27 UTC 2017


On Thu, May 04, 2017 at 17:03:00 +0200, Michal Privoznik wrote:
> On 05/03/2017 01:48 PM, Przemysław Sztoch wrote:
> > Hello,
> > 
> > 1. Please add —description parameter to virsh list command. It should be similar to —title.
> > It will be very helpful for administrators who like to leave the order and documentation after their work.
> 
> Yeah, this one makes sense.

No it does not. The description field is multi-line, whereas the title
is single line. Adding a multi-line field will not go well with the
table output.

> 
> > 
> > 2. Please add new columns to virsh list (for —details):
> > a) CPUs
> > b) MaxMem
> > c) Flags: p-persistent, t-transient, a-autostart, m-managed save, s-with snapshot(s)
> > and total sum for column vCPUs and Mem.
> > 
> > In my opinion it is very popular use case. It will help you control vCPU and memory overcommiting in very simple and fast way.
> > Put flags on list will prevents many additional commands from being executed. You will get all important information in one place.
> 
> Frankly, this one looks at the edge of the scope of virsh list. I mean,
> I view virsh as a simple CLI utility that you can build your own scripts
> on the top of.
> Also, you want 5 flags. Cool. But tomorrow somebody else wants another 5
> (title, description, has given device, etc.). The possibilities are
> endless. I suggest writing your own management application on the top of
> libvirt.

Also there's virt-top
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170504/6752ef6a/attachment-0001.sig>


More information about the libvir-list mailing list