list_patch_plans

Lists existing patch plans. You can list all the existing patch plans and can also list the existing patch plans whose names match the specified pattern.

Format

emcli list_patch_plans
        [-name="name"]
        [-noheader]
        [-script | -format=
                           [name:<pretty|script|csv>];
                           [column_separator:"column_sep_string"];
                           [row_separator:"row_sep_string"];
        ]

[ ]  indicates that the parameter is optional

Options

  • name

    Plan name used for searching patch plans. If you do not specify this option, the patch plan whose name is the same as the specified name, or contains the specified name string, will be listed. If you do not specify this option, all of the existing patch plans are listed.

  • noheader

    Suppresses printing of column headers.

  • script

    This option is equivalent to -format='name: script' .

  • format

    Format specification (default is -format="name:pretty").

    • format="name:pretty" prints the output table in a readable format not intended to be parsed by scripts.

    • format="name:script" sets the default column separator to a tab and the default row separator to a newline. The column and row separator strings can be specified to change these defaults.

    • format="name:csv" sets the column separator to a comma and the row separator to a newline.

    • format=column_separator:"column_sep_string" column-separates the verb output by <column_sep_string>. Rows are separated by the newline character.

    • row_separator:"row_sep_string" row-separates the verb output by <row_sep_string>. Rows are separated by the tab character.

Examples

emcli list_patch_plans 
      emcli list_patch_plans -name="plan name" -noheader  
      emcli list_patch_plans -name="plan name" -noheader -script  
      emcli list_patch_plans -name="plan name" -noheader -format="name:pretty" 
      emcli list_patch_plans -name="plan name" -noheader
      -format="name:pretty";column_separator="separator"