System Administration Guide: Virtualization Using the Solaris Operating System

Using the zonecfg Command

The zonecfg command, which is described in the zonecfg(1M) man page, is used to configure a non-global zone.

The zonecfg command can also be used to persistently specify the resource management settings for the global zone. For example, you can use the command to configure the global zone to use a dedicated CPU by using the dedicated-cpu resource.

The zonecfg command can be used in interactive mode, in command-line mode, or in command-file mode. The following operations can be performed using this command:

The zonecfg prompt is of the following form:


When you are configuring a specific resource type, such as a file system, that resource type is also included in the prompt:


For more information, including procedures that show how to use the various zonecfg components described in this chapter, see Chapter 17, Planning and Configuring Non-Global Zones (Tasks).