How to get Solaris Global zone name from Local zone


pkgparam -v SUNWcsr | grep From: | grep -v fern | head -1 | cut -d ‘:’ -f5 | awk -F” ” ‘{print “Global Zone = ” $1}’

example:

root@solaris:~> pkgparam -v SUNWcsr | grep From: | grep -v fern | head -1 | cut -d ‘:’ -f5 | awk -F” ” ‘{print “Global Zone = ” $1}’
Global Zone = sol10unix
root@solaris:~>

Comments are closed.