Skip to Content

Category Archives: Solaris

Single command to get information of all zones from global zone in solaris

Written on May 27, 2015 at 7:15 AM, by

for i in `zoneadm list -vi | egrep -v ‘NAME|global’ | awk {‘print $2’}`; do zonecfg -z $i info| grep address; done;