Administering TCP/IP Networks, IPMP, and IP Tunnels in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

Customizing the Output of the ipmpstat Command

The –o option enables you to customize the output of the ipmpstat command. You use this option with the other previously mentioned ipmpstat options to select specific fields to be displayed out of the total fields that the main option normally displays.

    For example, the –g option provides the following information:

  • IPMP group

  • IPMP group name

  • Status of the group

  • Failure detection time

  • Underlying interfaces of the IPMP group

Suppose that you want to display only the status of the IPMP groups on the system. You would combine the –o and –g options and specify the groupname and state fields, as shown in the following example:

% ipmpstat -g -o groupname,state
GROUPNAME  STATE
ipmp0      ok
accgt1     failed
field2     degraded

To display all of the fields of the ipmpstat command for a specific type of information, include the –o option with the all argument.