Re: [zones-discuss] ?: configuration of a *running* zone

2008-01-03 Thread Jerry Jelinek
Steffen Weiberle wrote: Is there a stable way of determining the configuration of a running zone? zonecfg and /etc/zones/zonename.xml show the configuration that will be used on the next boot, so if a change was made via zonecfg, the current running instance may be different from what

Re: [zones-discuss] ?: configuration of a *running* zone

2008-01-03 Thread Michael Barto
Note sure what you mean by "stable", but this is what we do for q-Status. Also this run on both Global and local zones. CFGDIR should be '.' the directory where you have this script. Set it up like this. q-Status/bin/list.zones q-Status/data/ The script will generate a file hostname.zones