Type:
# /usr/sbin/lucurr
In this example, the name of the current boot environment is displayed.
# /usr/sbin/lucurr solaris8