Paul Kraus wrote:
> On 8/29/07, Brandorr <[EMAIL PROTECTED]> wrote:
>> In a related, but similar situation. How does one know that they are
>> actually in a non-global zone vs a global zone? (Using a committed
>> interface).
> `ps -ef` and look for pid 0,1,2,3; these should only be visible in a
> global zone.

Gahh! The contortions! Just use "zonename"; if it comes back "global", 
you're in a global zone.  If anything else, you're not.  Attribute is 
"Evolving", is that better than looking for pids?  And maybe one day 
there will be pid 0, 1, 2, 3 in a non-global zone.

zones-discuss mailing list

Reply via email to