sharectl Command

This release includes the sharectl utility, which is an administrative tool that enables you to configure and manage file-sharing protocols such as NFS. You can use this command to do the following:

  • Set client and server operational properties

  • Display property values for a specific protocol

  • Obtain the status of a protocol

The sharectl utility uses the following syntax:

# sharectl subcommand [option] [protocol]

The sharectl utility supports the following subcommands:

set

Defines the properties for a file-sharing protocol. For a list of properties and property values, see the parameters described in the nfs(5) man page.

get

Displays the properties and property values for the specified protocol.

status

Displays whether the specified protocol is enabled or disabled. If no protocol is specified, the status of all file-sharing protocols is displayed.

For more information about the sharectl utility, see the following: