Re: virsh outputs to stderr(?!) why not stdout

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

 



On Thu, Apr 06, 2006 at 08:40:17AM -0400, Daniel Veillard wrote:
> On Thu, Apr 06, 2006 at 02:37:37PM +0200, Karel Zak wrote:
> > On Thu, Apr 06, 2006 at 11:46:57AM +0200, Jim Meyering wrote:
> > > So, now I can use something like this to get a list of domain names:
> > > 
> > >   virsh list | tail -n +4 | awk '{print $2}'
> > > 
> > > Is there some easier way?
> > 
> >  I think we can add some options to the list command:
> > 
> >     --noheader
> >     --nodom0
> >     --cols=name,id,state,maxmem,usemem,....
> > 
> >  without these options it will use default (current) format. I've
> >  already thought about this solution for the others commands (e.g.
> >  dominfo). I think this is a way how make it useful in scripts.
> 
>   Hum, why not discussing this on the libvir list ? Others may have
> soem ideas too and this may promote virsh usage a bit ;-)

 Fixed :-)

-- 
 Karel Zak  <kzak@xxxxxxxxxx>


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