[PATCHv2 0/2] virsh: add new --details option flag to pool-list and vol-list

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

 



Hi all,

The following two patches add a new "--details" option flag to the virsh pool-list and vol-list commands.

Adding these because trying to get sizing information for large numbers of pools or volumes is presently difficult, having to run the pool-info or vol-info command on each one individually.

This shows the required info much more easily. :)

 + The first patch is for the pool-list command, and was pretty
   straightforward.

 + The second patch is for the vol-list command, and has been rewritten
   from the first submission.  If the --details option is not specified,
   then the output is exactly as it has been historically, with only
   name and path info and the same fixed column widths.  If the
   --details option is given now, additional info is shown and all
   column widths are sized to their widest string.

   Additionally the code in the 2nd version of the second patch is
   cleaner structured than the first version.

Decent examples of the output from each command are in their email comments.

Open for suggestions and better ideas of course. :)

Regards and best wishes,

Justin Clift

--
Salasaga  -  Open Source eLearning IDE
              http://www.salasaga.org

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]