On 2 Feb 2018, at 20:43, George Linn via smartos-discuss wrote:

Just out of curiosity, from a bash script the following works as expected: /usr/sbin/vmadm list | /usr/bin/grep myzonealias | /usr/bin/cut -d" " -f1

This doesn't answer your question about additional processes, but the above command would return multiple uuids where zones when aliases myzonealias, myzonealias1,
aaa-myzonealias-zzz are present.

This is more accurate:

/usr/sbin/vmadm list -Ho uuid alias=myzonealias


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to