On Sat, 27 Feb 2010 17:01:54 +0100, Robert Bailey <robert.bai...@mac.com> wrote:

> Using Dtrace to monitor non-global zones
> Current defined zone states from zone.h
> /* zone_status */
> typedef
> enum {
> ZONE_IS_UNINITIALIZED = 0,
> ZONE_IS_READY,
> ZONE_IS_BOOTING,
> ZONE_IS_RUNNING,
> ZONE_IS_SHUTTING_DOWN,
> ZONE_IS_EMPTY,
> ZONE_IS_DOWN,
> ZONE_IS_DYING,
> ZONE_IS_DEAD
> } zone_status_t;

fwiw, you need to change this slightly as we've got 1 more status:

http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/sys/zone.h

    203 typedef enum {
    204         ZONE_IS_UNINITIALIZED = 0,
    205         ZONE_IS_INITIALIZED,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    206         ZONE_IS_READY,
    207         ZONE_IS_BOOTING,
    208         ZONE_IS_RUNNING,
    209         ZONE_IS_SHUTTING_DOWN,
    210         ZONE_IS_EMPTY,
    211         ZONE_IS_DOWN,
    212         ZONE_IS_DYING,
    213         ZONE_IS_DEAD
    214 } zone_status_t;

cheers
frankB
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to