Re: get information about weighted instances

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

 



On Sun, Mar 16, 2014 at 07:23:34PM +0000, sahid wrote:
> Greetings,
> 
> There is a new field I would like to add in the return of the command
> "vcpuinfo" to get the current "cpu shares" of a domain.
> The aim is to help managing weighted instances. Avoiding to look at the domain
> xml to compare instances.
> 
> 
> VCPU:           0
> CPU:            3
> State:          running
> CPU time:       4811.3s
> CPU Affinity:   yyyy
> CPU Shares:     2048
> 
> 
> I would like to know if this solution make sens for the community? and if yes I
> could be work on it.

You can actually get the CPU shares (and other schedular tunables) from
the 'virsh schedinfo' command already avoiding the need to look at XML

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
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]