System Administration Guide: Network Services

list Subcommand

This subcommand provides a list of current share groups. You can customize the output by using various options with this subcommand.

This subcommand supports the following options:

-P

Enables you to see a list of groups that use a specific file-system type.

-v

Is the verbose option and provides the following:

  • Group name

  • Status of the group, specifically whether the group is enabled or disabled

  • File-system type used by the group

-h

Provides an online-help description.

This subcommand uses the following syntax:


# sharemgr list [-h] [-P protocol] [-v]

The following example shows the output for the -v option:


example# sharemgr list -v
group01   enabled    nfs
group02   disabled   nfs