[dtrace-discuss] getting host computer name from within a zone

David Bustos David.Bustos at sun.com
Mon Jan 8 14:37:35 PST 2007


Quoth Jens Nickel on Wed, Dec 20, 2006 at 05:12:18AM -0800:
> maybe i'm wrong here but...
> In a zone i would like to get the name of the host-computer.
> Is this possible with dtrace and/or did that someone before.

I believe Zones were designed to prevent this.  You might be able to do
it anyway if you can get the dtrace_kernel privilege, but I'm not sure
if that's possible in a zone, and if it is it certainly isn't the
default.

Try zones-discuss at opensolaris.org .


David


More information about the dtrace-discuss mailing list