Jens Nickel
2006-Dec-20 13:12 UTC
[dtrace-discuss] getting host computer name from within a zone
Hi all, 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. Any hints/scripts would be very much appreciated. thank you very much cheers Jens This message posted from opensolaris.org
David Bustos
2007-Jan-08 22:37 UTC
[dtrace-discuss] getting host computer name from within a zone
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