The zoneadm command can be used to list active or running zones.
To view a list and brief status information about running zones, use the following command from the global zone:
zoneadm list -v
ID NAME STATUS PATH
0 global running /
2 zone2 running /opt/zone2
The -v option provides the additional information other than the zone name.