Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   virtdown script (http://www.linux-archive.org/centos/521668-virtdown-script.html)

Johnny Hughes 05-03-2011 05:33 PM

virtdown script
 
On 05/03/2011 09:39 AM, Tim Dunphy wrote:
> virsh list | grep -v -e Id -e --- -e Domain-0 | awk '{print $1}'

Do you want the "ID Number" or the "Name" to pass in? That gives you
the number, I think you want the name ... that would be $2 not $1.

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


All times are GMT. The time now is 12:09 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.