Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I understand in Unix Oracle-Solaris OS the zoneadm list command will easily show all the available zones. But if I am logged into a non global zone there is no easy way to get information about the global zone.

I see the arp command can be of some help because it will return the NIC mac address. Then with the NIC mac address I can arp again to get all the machine name associated with that (NIC) mac address.

This process sounds kind of intricate to me.
Is there any better way to get that info?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

There is no supported way and this is by design. Non global zones are isolated. The arp trick isn't always reliable and won't work anyway with exclusive IP zones. Should you want to have this information available, you can implement your own method, for example writing a file like /etc/globalzone as of course the global zone can access every zone file system.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.