Displaying Information About Profile States

You can use the netadm command with the list subcommand to display all
of the available profiles on a system and their current state, or to
display a specific profile and its state. For information about the netadm
subcommands, see netadm Subcommands.

The syntax for the list subcommand is as follows:

netadm list [ -pprofile-type ] [ -cncu-class ] [ profile-name ]

For example, to display all of the profiles on a system and
their state, you would type the following command:

In this example, the current state is displayed for every system-defined and user-defined
profile that is on the system. Note that the list subcommand displays the
enabled NCP and all of the NCUs that make up that particular NCP.

Displaying the Current State of a Profile

The profile type and NCU class can be included in the command
syntax to identify a specific profile. If only a profile type is provided,
all of the profiles that are of that type are displayed. If a
profile is specified by name, the current state of that profile is displayed.
If the profile name is not unique, all of the profiles with that
name are listed.

Example 3-1 Displaying the Current State of a Specified Profile

The following example lists the current state of profiles named Automatic, which has
been specified by name.

Displaying Auxiliary State Values

The auxiliary state of a profile provides an explanation about why a given
profile is online or offline (enabled or disabled). To list auxiliary state values,
use the -x option with the list subcommand, as shown in the following
example: