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

RE: [Xen-devel] Domid for just created domain?



Thanks!  I hadn't realized that xenstore-ls
and xenstore-list were different so I was using:

# xenstore-ls | grep domid | tail -1 | \
 sed 's/.*\([0-9][0-9]*\).*/\1/'

but

# xenstore-list | tail -1

is even better!

> -----Original Message-----
> From: James Harper [mailto:james.harper@xxxxxxxxxxxxxxxx]
> Sent: Saturday, May 31, 2008 2:25 AM
> To: dan.magenheimer@xxxxxxxxxx; xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-devel] Domid for just created domain?
> 
> 
> xenstore-list /local/domain
> And just get the last line or grep by name
> 
> -----Original Message-----
> From: "Dan Magenheimer"<dan.magenheimer@xxxxxxxxxx>
> Sent: 31/05/08 1:04:01 PM
> To: "Xen-Devel (E-mail)"<xen-devel@xxxxxxxxxxxxxxxxxxx>
> Subject: [Xen-devel] Domid for just created domain?
> 
> Is there any easy way in a shell script to find out the
> domid of "the domain I just created" with xm create?
> 
> ===================================
> Thanks... for the memory
> I really could use more / My throughput's on the floor
> The balloon is flat / My swap disk's fat / I've OOM's in store
> Overcommitted so much
> (with apologies to the late great Bob Hope)
> 
> 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.